Update core.py

Signed-off-by: Ali Razmjoo <ali.razmjoo1994@gmail.com>
This commit is contained in:
Ali Razmjoo 2024-09-30 16:53:41 +02:00 committed by GitHub
parent e3b9a71fe6
commit 97ef714eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ def get_file(filename):
except IOError:
abort(404)
def api_key_is_valid(app, flask_request):
"""
check the validity of API key