fix(server): memory lane title (#2772)

* fix(server): memory lane title

* feat: parallel requests

* pr feedback

* fix test

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen 2023-06-15 14:05:30 -04:00 committed by GitHub
parent 045bb855d2
commit 896645130b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 136 additions and 65 deletions

View file

@ -35,8 +35,9 @@
onMount(async () => {
if (!$memoryStore) {
const timezone = DateTime.local().zoneName;
const { data } = await api.assetApi.getMemoryLane({ timezone });
const { data } = await api.assetApi.getMemoryLane({
timestamp: DateTime.local().startOf('day').toISO()
});
$memoryStore = data;
}