renames team -> teams adds tests for users and teams

This commit is contained in:
Agusti Fernandez Pardo committed 2022-03-26 02:16:46 +01:00
1 parent 557342104b
commit 62a917c7a8
12 files changed
+355 -5

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ export async function editUser(req: NextApiRequest, res: NextApiResponse<Respons
}
} else {
// Reject any other HTTP method than POST
res.status(405).json({ message: "Only PATCH Method allowed for updating user-types" });
res.status(405).json({ message: "Only PATCH Method allowed for updating users" });
}
}