mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-10-18 18:34:11 +02:00
Added missing await in UpdateIfNeeded function
This commit is contained in:
1 parent
c2aa80ecf1
commit
c5c148827a
1 file changed
+1
-1
@@ -219,7 +219,7 @@ async function updatePaintingIfNeeded(
|
||||
paintingMusuem?.name !== parsedPainting.musuem ||
|
||||
paintingAuthors?.[0]?.fullname !== parsedPainting.author
|
||||
) {
|
||||
updatePainting(painting.id, parsedPainting)
|
||||
await updatePainting(painting.id, parsedPainting)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user