Backend: Added auto entry refrech each 24h
This commit is contained in:
1 parent
17067a5516
commit
367c9899a0
2 files changed
+39
-1
No files matched your search
@@ -27,7 +27,7 @@ class EntryController {
|
||||
async getEntryById(req, res) {
|
||||
const { id } = req.params;
|
||||
|
||||
let entry = await _entryService.getEntryById(id, true);
|
||||
let entry = await _entryManager.getUpdatedEntry(id);
|
||||
|
||||
res.status(200).json(entry);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user