feat: re-enable noUpdate for getIdBySlug

This commit is contained in:
DIYgod 2023-06-06 16:54:01 +01:00
parent 88ddb4ae09
commit 8963290c1e
No known key found for this signature in database
1 changed files with 5 additions and 3 deletions

View File

@ -46,11 +46,13 @@ export async function getIdBySlug(slug: string, characterId: string | number) {
)
} while (!note && cursor)
return {
noteId: note?.noteId,
if (note?.noteId) {
return {
noteId: note?.noteId,
}
}
},
// noUpdate: true,
noUpdate: true,
})) as {
noteId: number
}