mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-08-19 11:43:22 +02:00
Added missing await in UpdateIfNeeded function
This commit is contained in:
@@ -219,7 +219,7 @@ async function updatePaintingIfNeeded(
|
|||||||
paintingMusuem?.name !== parsedPainting.musuem ||
|
paintingMusuem?.name !== parsedPainting.musuem ||
|
||||||
paintingAuthors?.[0]?.fullname !== parsedPainting.author
|
paintingAuthors?.[0]?.fullname !== parsedPainting.author
|
||||||
) {
|
) {
|
||||||
updatePainting(painting.id, parsedPainting)
|
await updatePainting(painting.id, parsedPainting)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user