Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(sync): exists should use head instead of get (#2716)

teo9b33a4923fc2
diff --git a/js/app/packages/service-clients/service-sync/client.ts b/js/app/packages/service-clients/service-sync/client.ts
index 5a5bb453fb..8ec0c24968 100644
--- a/js/app/packages/service-clients/service-sync/client.ts
+++ b/js/app/packages/service-clients/service-sync/client.ts
@@ -132,7 +132,7 @@ export const syncServiceClient = {
},
async exists(args: { documentId: string }) {
const res = await syncFetch(`/document/${args.documentId}/exists`, {
- method: 'GET',
+ method: 'HEAD',
});
if (isErr(res)) {