Fix refresh post body (#799)

This commit is contained in:
Merlin 2024-11-08 06:13:25 +01:00 committed by GitHub
parent de24fcd207
commit c008e1bfba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const queueReindex = async (id: string, type: ReindexType, reindexVideos = false
}
const body = JSON.stringify({
[type]: id,
[type]: [id],
});
const response = await fetch(`${apiUrl}/api/refresh/${params}`, {