perf(video): perf

This commit is contained in:
2026-03-09 10:01:31 +08:00
parent 2402d685d7
commit 3b118e3304
12 changed files with 1284 additions and 328 deletions

View File

@@ -62,7 +62,7 @@ export async function POST(req: any) {
if (method === "POST" || method === "PUT") {
let refreshBody = JSON.stringify({
...JSON.parse(data),
token: userData?.refresh_token,
token: userData?.refresh_token || "",
})
fetchOptions.body = isRefresh ? refreshBody : data
} else {