Minor changes

This commit is contained in:
Kristy Fournier 2026-01-26 15:32:28 -05:00
parent 7d45d9498e
commit cda152852c
3 changed files with 3 additions and 2 deletions

View file

@ -206,7 +206,7 @@ def searchSongDB():
except sql.OperationalError as e:
print(e)
fileofDB.close()
return ({"error":"Invalid search, sorry!","data":None},422)
return ({"error":"Database error (Try another search?)","data":None},500)
@app.route("/songadd", methods=["POST"])