This commit is contained in:
MartinBraquet
2026-03-07 13:46:35 +01:00
parent 89ce1a248e
commit cb9dd51afc

View File

@@ -23,7 +23,7 @@ export const getLastMessages: APIHandler<'get-last-messages'> = async (props, au
convertPrivateChatMessage,
)
// Required to parse to number? If so, should prob create a helper to reuse in other places?
// Required to parse to number? If so, should prob create a helper to reuse in other places?
return messages.reduce(
(acc, msg) => {
acc[Number(msg.channelId)] = msg