We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3e6134 commit 85ce52fCopy full SHA for 85ce52f
1 file changed
back/src/dals/room/repository/room.repository.ts
@@ -34,11 +34,12 @@ const appendRoomContent = async (newRoomInfo: RoomInfo): Promise<void> => {
34
}
35
};
36
37
-const replaceRoomContent = async (newRoomInfo: RoomInfo): Promise<void> =>
+const replaceRoomContent = async (newRoomInfo: RoomInfo): Promise<void> => {
38
await RoomContext.updateOne(
39
{ room: newRoomInfo.room },
40
{ content: newRoomInfo.content }
41
);
42
+};
43
44
const updateRoomContent = async (
45
newRoomInfo: RoomInfo,
0 commit comments