feat: re-enable noUpdate for getIdBySlug
This commit is contained in:
parent
88ddb4ae09
commit
8963290c1e
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue