Skip to content

Commit 890dc37

Browse files
committed
lint
1 parent d075247 commit 890dc37

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/client/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
import {
44
createFunctionHandle,
55
type Expand,
6-
type FunctionHandle,
76
type FunctionReference,
8-
type FunctionType,
97
type GenericActionCtx,
108
type GenericDataModel,
119
type GenericQueryCtx,

src/component/messages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ export const getFromTwilioBySidAndInsert = action({
246246
},
247247
});
248248

249-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
250249
function convertToDatabaseMessage(message: any) {
251250
const {
252251
account_sid,

src/component/phone_numbers.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import {
44
internalAction,
55
internalMutation,
66
internalQuery,
7-
mutation,
87
} from "./_generated/server.js";
9-
import { api, internal } from "./_generated/api.js";
8+
import { internal } from "./_generated/api.js";
109
import { twilioRequest } from "./utils.js";
1110
import schema from "./schema.js";
1211

@@ -136,13 +135,7 @@ export const updateSmsUrl = action({
136135
const body = {
137136
SmsUrl: args.sms_url,
138137
};
139-
const response = await twilioRequest(
140-
path,
141-
args.account_sid,
142-
args.auth_token,
143-
body,
144-
"POST"
145-
);
138+
await twilioRequest(path, args.account_sid, args.auth_token, body, "POST");
146139
await ctx.runMutation(internal.phone_numbers.patch, {
147140
convexId,
148141
sms_url: args.sms_url,

0 commit comments

Comments
 (0)