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", 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);