Skip to content

Commit

Permalink
BC-2698 - Return correct scan status (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax authored Jan 31, 2023
1 parent 3af4475 commit 3484614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antivirus_service/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def handle_error_message(self, payload, error_message):
logging.error('On sending error message: empty callback_uri')
return

headers = {'status': '500 Internal Server Error'}
headers = {'Content-type': 'application/json'}

if access_token:
headers['Authorization'] = 'Bearer %s' % access_token
Expand Down

0 comments on commit 3484614

Please sign in to comment.