Feat/history page by date #46

Merged
KevinMidboe merged 6 commits from feat/history-page-by-date into master 2020-10-11 16:22:11 +00:00
KevinMidboe commented 2020-10-11 13:33:30 +00:00 (Migrated from github.com)

Now the frontend page history get receive an epoch date and it will fetch only date history element.
Refactored the lottery controller. Improvements:

  • /latest resolves wine references.
  • Better error handling if /by-date or /by-name does not find anything for the requested value.
  • Moved functionality to be isolated within function that does a give task.

Changes/commits:

  • New api route from history by date.
  • If date in params, fetch only that date.
  • Refactored lottery controller.´
Now the frontend page history get receive an epoch date and it will fetch only date history element. Refactored the lottery controller. Improvements: - /latest resolves wine references. - Better error handling if /by-date or /by-name does not find anything for the requested value. - Moved functionality to be isolated within function that does a give task. Changes/commits: - New api route from history by date. - If date in params, fetch only that date. - Refactored lottery controller.´
Sign in to join this conversation.
No description provided.