Generate a message in speak area (/:roomId/message) [POST consult]

Generate a message in speak area (/:roomId/message) [POST consult] A factor to note is userIds, means is coming from req.body while userId that is are aliased as chatInitiatorId comes from req compliment of our decode middleware. Should you recall, we affixed app.use(“/room”, decode, chatRoomRouter); inside our server/index.js document. Meaning this course /room/initiate was authenticated. Very [...]