We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4429d9d + 39390ef commit 41001a4Copy full SHA for 41001a4
1 file changed
src/controller.js
@@ -291,7 +291,7 @@ fc.changeArtwork = function() {
291
292
return new Promise(function(resolve, reject) {
293
// old artwork is new artwork, don't update.
294
- if (old_artwork && old_artwork.id === new_artwork.id) {
+ if (old_artwork && JSON.stringify(old_artwork) === JSON.stringify(new_artwork)) {
295
debug('new artwork same as current', old_artwork.id, new_artwork.id);
296
return reject();
297
}
0 commit comments