finito
This commit is contained in:
@@ -249,7 +249,7 @@ app.put(
|
||||
},
|
||||
);
|
||||
|
||||
app.post("/api/chat/contact/:contact", authorizeUser, async (req, res) => {
|
||||
app.post("/api/chat/contacts/:contact", authorizeUser, async (req, res) => {
|
||||
if (!req.params.contact) {
|
||||
return res.status(400).json({ message: "Missing contact parameter" });
|
||||
}
|
||||
@@ -470,12 +470,6 @@ app.get(
|
||||
},
|
||||
);
|
||||
|
||||
app.get(
|
||||
"/api/chat/messages/lastMessage",
|
||||
authorizeUser,
|
||||
async (req, res) => {},
|
||||
);
|
||||
|
||||
initializeSocket(io);
|
||||
|
||||
server.listen(PORT, () => {
|
||||
|
||||
Reference in New Issue
Block a user