Skip to content

Commit

Permalink
fixed args bug and change sucess message
Browse files Browse the repository at this point in the history
  • Loading branch information
n1lby73 committed Dec 16, 2023
1 parent 37577e4 commit 218a2f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-ui/webApp/apiRoute.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ def get(self):

try:
global genOtpStartTime
args = self.parser.parse_args()

email = args["email"]

Expand Down Expand Up @@ -544,7 +545,7 @@ def get(self):
try:
db.session.commit()

return ({"status": "otp sent to mail"})
return ({"success": "otp sent to mail"})

except Exception as e:

Expand Down

0 comments on commit 218a2f8

Please sign in to comment.