Fix refresh post body (#799)
This commit is contained in:
parent
de24fcd207
commit
c008e1bfba
|
|
@ -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}`, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue