mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-20 19:41:49 +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
|
@basic_auth.required
|
||||||
def delete_entry(entry_id):
|
def delete_entry(entry_id):
|
||||||
if database.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:
|
else:
|
||||||
return Response({"status": "FAIL"}, mimetype='text/json')
|
return Response('{"status": "FAIL"}', mimetype='text/json')
|
||||||
|
|
||||||
@app.route("/login")
|
@app.route("/login")
|
||||||
@basic_auth.required
|
@basic_auth.required
|
||||||
|
Loading…
x
Reference in New Issue
Block a user