print token

This commit is contained in:
CHIEFSOFT\ameye
2024-12-08 22:16:25 -05:00
parent 722db36bad
commit 94cb92ef19
+2
View File
@@ -35,6 +35,8 @@ def token_required(f):
def decorated(*args, **kwargs):
#token = request.args.get('token')
token = request.headers["Authorization"].split(" ")[1]
print(token)
if not token:
return jsonify({'message': 'Error - missing token'}), 403
try: