Skip to content

Commit c080837

Browse files
Caroline BANCHEREAUCaroline BANCHEREAU
authored andcommitted
forgot a abort(403) in verify_api_key to match the behavior
1 parent 0857f74 commit c080837

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

backend-agent/app/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ def verify_api_key():
3232
provided_key = request.headers.get('X-API-Key')
3333
if provided_key != os.getenv('API_KEY'):
3434
abort(403)
35-
else:
36-
abort(403)

0 commit comments

Comments
 (0)