diff --git a/api-customer/src/controllers/AuthController.py b/api-customer/src/controllers/AuthController.py index eddd0625..ea989a92 100644 --- a/api-customer/src/controllers/AuthController.py +++ b/api-customer/src/controllers/AuthController.py @@ -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