This commit is contained in:
slawk0
2025-03-26 20:00:29 +01:00
parent fe17e90ef8
commit ee1d391102
8 changed files with 15 additions and 13 deletions

View File

@@ -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, () => {