Correct documentation on users allowed to use webhooks

This commit is contained in:
rubenwardy
2020-04-21 19:27:34 +01:00
parent b5ce0a786a
commit a678a61c23
4 changed files with 5 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ def webhook():
return error(403, "Invalid authentication, couldn't validate API token")
if not package.checkPerm(actual_token.owner, Permission.APPROVE_RELEASE):
return error(403, "Only trusted members can use webhooks")
return error(403, "You do not have the permission to approve releases")
#
# Check event