Compare commits

..

No commits in common. "main" and "0.3.1" have entirely different histories.
main ... 0.3.1

3 changed files with 2 additions and 14 deletions

View File

@ -5,22 +5,10 @@ Changelog
(unreleased) (unreleased)
------------ ------------
Fix
~~~
- Exception thrown on LastOrDefault(), refs NOISSUE. [Simon
Diesenreiter]
0.3.1 (2025-05-24)
------------------
Fix Fix
~~~ ~~~
- Fix build errors, refs NOISSUE. [Simon Diesenreiter] - Fix build errors, refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.3.0 (2025-05-24) 0.3.0 (2025-05-24)
------------------ ------------------

View File

@ -92,7 +92,7 @@ pickOfTheDayTimer.OnOccurence += async (s, ea) =>
{ {
var dci = DataContext.Instance; var dci = DataContext.Instance;
var lastSong = dci.SongSuggestions?.OrderBy(s => s.Id).LastOrDefault(); var lastSong = dci.SongSuggestions?.LastOrDefault();
if (lastSong != null && lastSong.Date >= DateTime.Today.Subtract(TimeSpan.FromDays(AppConfiguration.Instance.DaysBetweenRequests))) if (lastSong != null && lastSong.Date >= DateTime.Today.Subtract(TimeSpan.FromDays(AppConfiguration.Instance.DaysBetweenRequests)))
{ {

View File

@ -1 +1 @@
0.3.2 0.3.1