Skip to content

Commit b6836c8

Browse files
committed
prettier
1 parent e0b91e0 commit b6836c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/client/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Twilio<
4343
httpPrefix?: string;
4444
incomingMessageCallback?: MessageHandler;
4545
defaultOutgoingMessageCallback?: MessageHandler;
46-
} & From,
46+
} & From
4747
) {
4848
this.accountSid =
4949
options?.TWILIO_ACCOUNT_SID ?? process.env.TWILIO_ACCOUNT_SID!;
@@ -53,7 +53,7 @@ export class Twilio<
5353
throw new Error(
5454
"Missing Twilio credentials\n\n" +
5555
"npx convex env set TWILIO_ACCOUNT_SID=ACxxxxx\n" +
56-
"npx convex env set TWILIO_AUTH_TOKEN=xxxxx",
56+
"npx convex env set TWILIO_AUTH_TOKEN=xxxxx"
5757
);
5858
}
5959
this.defaultFrom = options.defaultFrom;
@@ -105,7 +105,7 @@ export class Twilio<
105105
incomingMessageCallback:
106106
this.incomingMessageCallback &&
107107
(await createFunctionHandle(this.incomingMessageCallback)),
108-
},
108+
}
109109
);
110110

111111
return new Response(null, { status: 200 });
@@ -134,7 +134,7 @@ export class Twilio<
134134
} & (From["defaultFrom"] extends string
135135
? { from?: string }
136136
: { from: string })
137-
>,
137+
>
138138
) {
139139
const from = args.from ?? this.defaultFrom;
140140
if (!from) {
@@ -260,7 +260,7 @@ export class Twilio<
260260
*/
261261
async getMessagesFrom(
262262
ctx: RunQueryCtx,
263-
args: { from: string; limit?: number },
263+
args: { from: string; limit?: number }
264264
) {
265265
return ctx.runQuery(this.componentApi.messages.getFrom, {
266266
...args,
@@ -279,7 +279,7 @@ export class Twilio<
279279
*/
280280
async getMessagesByCounterparty(
281281
ctx: RunQueryCtx,
282-
args: { counterparty: string; limit?: number },
282+
args: { counterparty: string; limit?: number }
283283
) {
284284
return ctx.runQuery(this.componentApi.messages.getByCounterparty, {
285285
...args,
@@ -325,7 +325,7 @@ declare global {
325325

326326
if (typeof Convex === "undefined") {
327327
throw new Error(
328-
"this is Convex backend code, but it's running somewhere else!",
328+
"this is Convex backend code, but it's running somewhere else!"
329329
);
330330
}
331331
type componentApiType = UseApi<typeof api>;

0 commit comments

Comments
 (0)