From c7f90627b109e295c546823109773e5f3fe6def6 Mon Sep 17 00:00:00 2001 From: gabriellsh Date: Mon, 11 Sep 2023 15:42:35 -0300 Subject: [PATCH] Remove logs --- apps/meteor/ee/client/ecdh.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/apps/meteor/ee/client/ecdh.ts b/apps/meteor/ee/client/ecdh.ts index 81d0de012394..bbec5c19e0ad 100644 --- a/apps/meteor/ee/client/ecdh.ts +++ b/apps/meteor/ee/client/ecdh.ts @@ -76,18 +76,3 @@ sdk.rest.use(async (request, next) => { const parsed = JSON.parse(decrypted); return parsed; }); - -window.fetch = new Proxy(window.fetch, { - apply(actualFetch, that, args) { - console.log('fetching', args); - // Forward function call to the original fetch - const result = Reflect.apply(actualFetch, that, args); - - // Do whatever you want with the resulting Promise - result.then((response) => { - console.log('fetch completed!', args, response); - }); - - return result; - }, -});