Renamedpermisssions from *Organisation* to *Organization*📝
continuous-integration/drone/pr Build is passing

ref #117
This commit is contained in:
niggl committed 2021-01-24 18:43:29 +01:00
1 parent c6c643ecf1
commit cd7e9b86b4
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ const StatsAuth = async (req: Request, res: Response, next: () => void) => {
let user_authorized = false;
try {
let action = { request: req, response: res, context: null, next: next }
user_authorized = await authchecker(action, ["RUNNER:GET", "TEAM:GET", "ORGANISATION:GET"]);
user_authorized = await authchecker(action, ["RUNNER:GET", "TEAM:GET", "ORGANIZATION:GET"]);
}
finally {
if (user_authorized == false) {