mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-20 03:21:47 +02:00
Quotes
This commit is contained in:
parent
0f7b4e5426
commit
28ff0ecf06
4
main.py
4
main.py
@ -48,9 +48,9 @@ def get_song_completions(input_string):
|
||||
@basic_auth.required
|
||||
def delete_entry(entry_id):
|
||||
if database.delete_entry(entry_id):
|
||||
return Response({"status": "OK"}, mimetype='text/json')
|
||||
return Response('{"status": "OK"}', mimetype='text/json')
|
||||
else:
|
||||
return Response({"status": "FAIL"}, mimetype='text/json')
|
||||
return Response('{"status": "FAIL"}', mimetype='text/json')
|
||||
|
||||
@app.route("/login")
|
||||
@basic_auth.required
|
||||
|
Loading…
x
Reference in New Issue
Block a user