forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #2799 from kfear1337/CodeQL-Report
This commit is contained in:
commit
461e48be32
@ -56,7 +56,12 @@ export const useSyncStore = createPersistStore(
|
|||||||
method: "PROFIND",
|
method: "PROFIND",
|
||||||
headers: this.headers(),
|
headers: this.headers(),
|
||||||
});
|
});
|
||||||
console.log(res);
|
const sanitizedRes = {
|
||||||
|
status: res.status,
|
||||||
|
statusText: res.statusText,
|
||||||
|
headers: res.headers,
|
||||||
|
};
|
||||||
|
console.log(sanitizedRes);
|
||||||
return res.status === 207;
|
return res.status === 207;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("[Sync] ", e);
|
console.error("[Sync] ", e);
|
||||||
|
Loading…
Reference in New Issue
Block a user