summary refs log tree commit diff
path: root/src/api/routes
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-24 00:03:03 +0200
committerRory& <root@rory.gay>2025-09-29 18:38:06 +0200
commitd007acc64e464deafda2d86a89c5a6ff469823e5 (patch)
tree70c3a8cd2191177c0d772356c10049f1f93628ff /src/api/routes
parentmeow??? (diff)
downloadserver-ts-d007acc64e464deafda2d86a89c5a6ff469823e5.tar.xz
Logging of empty messages
Diffstat (limited to 'src/api/routes')
-rw-r--r--src/api/routes/channels/#channel_id/messages/#message_id/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/channels/#channel_id/messages/#message_id/index.ts b/src/api/routes/channels/#channel_id/messages/#message_id/index.ts

index c0bff75b1..6fa4cd380 100644 --- a/src/api/routes/channels/#channel_id/messages/#message_id/index.ts +++ b/src/api/routes/channels/#channel_id/messages/#message_id/index.ts
@@ -93,7 +93,7 @@ router.patch( } } else rights.hasThrow("SELF_EDIT_MESSAGES"); - // //@ts-expect-error Something is wrong with message_reference here, TS complains since "channel_id" is optional in MessageCreateSchema + //@ts-expect-error Something is wrong with message_reference here, TS complains since "channel_id" is optional in MessageCreateSchema const new_message = await handleMessage({ ...message, // TODO: should message_reference be overridable?