1 parent
c90bd941b5
commit
561cde6e7e
20 files changed
+133
-98
No files matched your search
@@ -28,7 +28,7 @@ export default async (
|
||||
}
|
||||
|
||||
if (req.method === 'POST') {
|
||||
if (!(await canCreateTeam(userId))) {
|
||||
if (!(await canCreateTeam(req.auth))) {
|
||||
return unauthorized(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user