mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
[jsonapi] Fix mistaken call to library_media_save
Only library modules should be calling that function
This commit is contained in:
parent
f430b71645
commit
a7f44dc3e8
@ -3266,7 +3266,7 @@ jsonapi_reply_library_tracks_put(struct httpd_request *hreq)
|
||||
goto error;
|
||||
}
|
||||
|
||||
ret = library_media_save(mfi);
|
||||
ret = db_file_update(mfi);
|
||||
if (ret < 0)
|
||||
{
|
||||
err = HTTP_INTERNAL;
|
||||
|
Loading…
Reference in New Issue
Block a user