summary refs log tree commit diff
path: root/src/api/util
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-06-11 18:16:31 +0200
committerRory& <root@rory.gay>2026-06-12 17:58:18 +0200
commit2c1be0fa53ca2b8efb5b04de3e2bd41b61917c69 (patch)
tree8f3bbf3f06d2e756da52fb8d6306a8734a4ff2b3 /src/api/util
parentAllow subpath imports, move extensions to separate module (diff)
downloadserver-ts-2c1be0fa53ca2b8efb5b04de3e2bd41b61917c69.tar.xz
Use subpath imports for lambert-server, fix openapi.js
Diffstat (limited to 'src/api/util')
-rw-r--r--src/api/util/handlers/Message.ts2
-rw-r--r--src/api/util/handlers/Webhook.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 74c2d6d0f..674b74c61 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -53,7 +53,7 @@ import { USER_MENTION, Webhook, } from "@spacebar/util"; -import { HTTPError } from "lambert-server"; +import { HTTPError } from "lambert-server/HTTPError"; import { Equal, In, Or } from "typeorm"; import { ActionRowComponent, diff --git a/src/api/util/handlers/Webhook.ts b/src/api/util/handlers/Webhook.ts
index a3ad944ae..48032c8fd 100644 --- a/src/api/util/handlers/Webhook.ts +++ b/src/api/util/handlers/Webhook.ts
@@ -1,7 +1,7 @@ import { handleMessage, postHandleMessage } from "@spacebar/api"; import { Attachment, Channel, Config, DiscordApiErrors, emitEvent, FieldErrors, Message, MessageCreateEvent, Snowflake, uploadFile, ValidateName, Webhook } from "@spacebar/util"; import { Request, Response } from "express"; -import { HTTPError } from "lambert-server"; +import { HTTPError } from "lambert-server/HTTPError"; import { MoreThan } from "typeorm"; import { WebhookExecuteSchema } from "@spacebar/schemas";