This commit is contained in:
GH Action - Upstream Sync
2023-09-12 00:30:17 +00:00
3 changed files with 76 additions and 73 deletions

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