From 0313689ef2c6a0e4b894203ee0af427036492312 Mon Sep 17 00:00:00 2001 From: Billy Lo Date: Mon, 25 Oct 2021 20:46:19 -0400 Subject: [PATCH 1/2] comment out code in form (unnecessary processing) until we roll out fastlink --- components/Form.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/Form.tsx b/components/Form.tsx index 2b3a4a6..65b120d 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -171,10 +171,12 @@ function Form(): JSX.Element { try { const payload = await getPayloadBodyFromFile(file); - const buffer = Buffer.from(await new Response(file).arrayBuffer()); - let dataUrl = `data:${file.type};base64,${buffer.toString("base64")}`; + //TODO: feature flagging + + // const buffer = Buffer.from(await new Response(file).arrayBuffer()); + // let dataUrl = `data:${file.type};base64,${buffer.toString("base64")}`; - payload.dataUrl = dataUrl; + // payload.dataUrl = dataUrl; setPayloadBody(payload); setFileLoading(false); From 215ac153d1cb14b900fe90b107285aedf66e5515 Mon Sep 17 00:00:00 2001 From: Billy Lo Date: Tue, 26 Oct 2021 18:01:55 -0400 Subject: [PATCH 2/2] switch to sponsored account --- src/sentry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry.ts b/src/sentry.ts index 8097d85..64202b6 100644 --- a/src/sentry.ts +++ b/src/sentry.ts @@ -4,7 +4,7 @@ import { Integrations } from '@sentry/tracing'; export const initSentry = () => { SentryModule.init({ release: 'grassroots_covidpass@2.2.5', // App version. Needs to be manually updated as we go unless we make the build smarter - dsn: 'https://7120dcf8548c4c5cb148cdde2ed6a778@o1015766.ingest.sentry.io/5981424', + dsn: 'https://51370d7af0994761b465bc148129c1de@o997324.ingest.sentry.io/5955697', // this is the sponsored account for use going forward integrations: [ new Integrations.BrowserTracing(), ],