From 356fd8818c30d7e42742d7c612805ae53e8519fc Mon Sep 17 00:00:00 2001 From: m5r Date: Fri, 3 Sep 2021 05:46:56 +0800 Subject: [PATCH] clean code --- app/auth/components/login-form.tsx | 2 +- app/onboarding/api/queue/set-twilio-webhooks.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/auth/components/login-form.tsx b/app/auth/components/login-form.tsx index 1bcad80..d013248 100644 --- a/app/auth/components/login-form.tsx +++ b/app/auth/components/login-form.tsx @@ -36,7 +36,7 @@ export const LoginForm = (props: LoginFormProps) => { } }} > - +
diff --git a/app/onboarding/api/queue/set-twilio-webhooks.ts b/app/onboarding/api/queue/set-twilio-webhooks.ts index 7012f93..6dffc04 100644 --- a/app/onboarding/api/queue/set-twilio-webhooks.ts +++ b/app/onboarding/api/queue/set-twilio-webhooks.ts @@ -1,4 +1,3 @@ -import { getConfig } from "blitz"; import { Queue } from "quirrel/blitz"; import type twilio from "twilio"; import type { ApplicationInstance } from "twilio/lib/rest/api/v2010/account/application"; @@ -11,8 +10,6 @@ type Payload = { phoneNumberId: string; }; -const { serverRuntimeConfig } = getConfig(); - const setTwilioWebhooks = Queue("api/queue/set-twilio-webhooks", async ({ organizationId, phoneNumberId }) => { const phoneNumber = await db.phoneNumber.findFirst({ where: { id: phoneNumberId, organizationId },