clean code
This commit is contained in:
parent
afd9cfb73b
commit
356fd8818c
@ -36,7 +36,7 @@ export const LoginForm = (props: LoginFormProps) => {
|
||||
}
|
||||
}}
|
||||
>
|
||||
<LabeledTextField name="email" label="Email" placeholder="Email" />
|
||||
<LabeledTextField name="email" label="Email" placeholder="Email" type="email" />
|
||||
<LabeledTextField name="password" label="Password" placeholder="Password" type="password" />
|
||||
<div>
|
||||
<Link href={Routes.ForgotPasswordPage()}>
|
||||
|
@ -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<Payload>("api/queue/set-twilio-webhooks", async ({ organizationId, phoneNumberId }) => {
|
||||
const phoneNumber = await db.phoneNumber.findFirst({
|
||||
where: { id: phoneNumberId, organizationId },
|
||||
|
Loading…
Reference in New Issue
Block a user