Browse Source

Fix on resort Images

master
GJWilliams87 4 years ago
parent
commit
710db18b11
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      UnivateProperties_API/Repository/Timeshare/IResortRepository.cs

+ 1
- 1
UnivateProperties_API/Repository/Timeshare/IResortRepository.cs View File

184
             if (data.Images == null || data.Images.Count == 0)
184
             if (data.Images == null || data.Images.Count == 0)
185
             {
185
             {
186
                 data.Images = new List<string>();
186
                 data.Images = new List<string>();
187
-                int count = 1;
187
+                int count = 0;
188
                 while (count < 5)
188
                 while (count < 5)
189
                 {
189
                 {
190
                     client = new RestClient(string.Format("https://www.tradeunipoint.com/unibackend/seam/resource/rest/products/{0}/image/{1}", resortCode, count))
190
                     client = new RestClient(string.Format("https://www.tradeunipoint.com/unibackend/seam/resource/rest/products/{0}/image/{1}", resortCode, count))

Loading…
Cancel
Save