Browse Source

no message

X\choro 1 month ago
parent
commit
5416090673
1 changed files with 2 additions and 1 deletions
  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) =>
                 {