renames team -> teams adds tests for users and teams
This commit is contained in:
1 parent
557342104b
commit
62a917c7a8
12 files changed
+355
-5
No files matched your search
@@ -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" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user