Skip to content

Commit

Permalink
[jsonapi] Fix mistaken call to library_media_save
Browse files Browse the repository at this point in the history
Only library modules should be calling that function
  • Loading branch information
ejurgensen committed Dec 19, 2023
1 parent f430b71 commit a7f44dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpd_jsonapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a7f44dc

Please sign in to comment.