fix: 404 -> 204
This commit is contained in:
parent
4b1b3b1096
commit
f93ac890a2
@ -414,7 +414,7 @@ def library():
|
||||
pass
|
||||
|
||||
if not total_count:
|
||||
abort(404)
|
||||
abort(204)
|
||||
|
||||
if request.form['action'] == 'add':
|
||||
items = dicts_to_items(var.bot, var.music_db.query_music(condition))
|
||||
|
@ -743,7 +743,7 @@
|
||||
data: data,
|
||||
statusCode: {
|
||||
200: processResults,
|
||||
404: function(){
|
||||
204: function(){
|
||||
lib_loading.hide();
|
||||
lib_empty.show();
|
||||
page_ul.empty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user