Fuck python
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from asyncio.windows_events import NULL
|
||||
|
||||
from board_mate.auth import *
|
||||
from flask import jsonify, request
|
||||
from pydantic import StrictStr
|
||||
@@ -36,5 +38,5 @@ class AuthController:
|
||||
return jsonify({"success" : response.success, "message" : response.message , "data" : response.data}), 200
|
||||
except Exception as e:
|
||||
print(f"Exception when calling AuthAPI->login: {e}")
|
||||
return jsonify({"success" : False, "message" : e , "data" : null}), 500
|
||||
return jsonify({"success" : False, "message" : e , "data" : None}), 500
|
||||
|
||||
|
||||
Reference in New Issue
Block a user