[jsonapi] Fix mistaken call to library_media_save

Only library modules should be calling that function
This commit is contained in:
ejurgensen 2023-12-17 22:32:04 +01:00
parent f430b71645
commit a7f44dc3e8

View File

@ -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;