perf(video): perf
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user