Skip to content

Commit

Permalink
test. REVERT!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
ArttuKuikka committed Dec 17, 2023
1 parent dd5fff5 commit 0045481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controllers/AanestysController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public async Task<IActionResult> Aanesta(int taso)

int viikko = System.Globalization.ISOWeek.GetWeekOfYear(DateTime.Now);
int vuosi = DateTime.Now.Year;
int viikonPäiva = (int)DateTime.Today.DayOfWeek;
int viikonPäiva = 1;//(int)DateTime.Today.DayOfWeek;

var ruokalista = db.Ruokalista.Where(m => m.Year == vuosi)?.FirstOrDefault(k => k.WeekId == viikko);

Expand Down

0 comments on commit 0045481

Please sign in to comment.