Change error message

This commit is contained in:
Tanner Collin 2022-05-20 00:00:30 +00:00
parent 7787c4db50
commit 9e29052ae3

View File

@ -57,7 +57,7 @@ def isEven(number):
return res return res
except: except:
res = jsonify(dict( res = jsonify(dict(
error='Invalid number.', error='what is this I don\'t even',
)) ))
res.status_code = 400 res.status_code = 400
return res return res