mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-18 12:14:31 +08:00
fix(ui): stabilize authenticated page requests
This commit is contained in:
@@ -21,7 +21,7 @@ export function mediaExistsHandler(
|
||||
) {
|
||||
return http.get(mediaApiUrls.exists, async ({ request }) => {
|
||||
await onRequest(new URL(request.url))
|
||||
return HttpResponse.json(response as JsonBodyType, { status })
|
||||
return HttpResponse.json({ message: '', ...response } as JsonBodyType, { status })
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user