diff --git a/src/routes/api/channels/[id]/messages/+server.ts b/src/routes/api/channels/[id]/messages/+server.ts index 8aff2fa..82d3aec 100644 --- a/src/routes/api/channels/[id]/messages/+server.ts +++ b/src/routes/api/channels/[id]/messages/+server.ts @@ -140,7 +140,6 @@ export async function POST({ params, request }) { let channels = cachedChannels ? JSON.parse(cachedChannels) : []; let channel = channels.find((c) => c.id === channelId); if(channel){ - console.log('channel found') channel.lastMessage = { id: newMessage.id, text: newMessage.text,