mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
[jsonapi] Fix mistaken call to library_media_save
Only library modules should be calling that function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user