X\choro vor 1 Monat
Ursprung
Commit
5416090673
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      economy/Controllers/DaysController.cs

+ 2 - 1
economy/Controllers/DaysController.cs

@@ -17,6 +17,7 @@ namespace economy.Controllers
         public DaysController(DataGoKR dataGoKR)
         {
             _dataGoKR = dataGoKR;
+            _queryString = [];
         }
 
         // 공휴일/국경일
@@ -30,7 +31,7 @@ namespace economy.Controllers
             DaysModel holiday = new DaysModel(_dataGoKR);
             Holiday.Response itemList = await holiday.GetHoliday(request);
 
-            if (itemList is not null)
+            if (itemList.Body is not null)
             {
                 itemList.Body.Items.ItemList = itemList.Body.Items.ItemList.Select((row, index) =>
                 {