Pārlūkot izejas kodu

Fix on resort Images

master
GJWilliams87 4 gadus atpakaļ
vecāks
revīzija
710db18b11

+ 1
- 1
UnivateProperties_API/Repository/Timeshare/IResortRepository.cs Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt