Merge pull request #2799 from kfear1337/CodeQL-Report

This commit is contained in:
Yifei Zhang
2023-09-11 20:35:04 +08:00
committed by GitHub

View File

@@ -56,7 +56,12 @@ export const useSyncStore = createPersistStore(
method: "PROFIND",
headers: this.headers(),
});
console.log(res);
const sanitizedRes = {
status: res.status,
statusText: res.statusText,
headers: res.headers,
};
console.log(sanitizedRes);
return res.status === 207;
} catch (e) {
console.error("[Sync] ", e);