fix: no attribute error (#15597)

pull/15519/head^2
Joe 11 months ago committed by GitHub
parent b938c9b7f6
commit 58f012f3de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -316,7 +316,7 @@ class AppTraceApi(Resource):
@account_initialization_required
def post(self, app_id):
# add app trace
if not current_user.is_editing_role:
if not current_user.is_editor:
raise Forbidden()
parser = reqparse.RequestParser()
parser.add_argument("enabled", type=bool, required=True, location="json")

Loading…
Cancel
Save