mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix await
This commit is contained in:
parent
e407db914a
commit
21405e6328
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export function contentServiceRouter() {
|
|||
return
|
||||
}
|
||||
const msg = data as UpdateContentMessage
|
||||
if (!updateContentForFileItem(msg)) {
|
||||
if (!(await updateContentForFileItem(msg))) {
|
||||
res.status(404).send('Bad Request')
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue