Modification de l'api messages
This commit is contained in:
parent
15b0c91992
commit
0fbbecc1d1
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue