We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7516277 commit 1024245Copy full SHA for 1024245
1 file changed
src/controller.js
@@ -321,8 +321,8 @@ fc.changeArtwork = function() {
321
file_name = path.basename(parsed.pathname);
322
323
downloader.downloadFile(new_artwork.url, new_artwork.id + file_name)
324
- .then(function(file) {
325
- tokens['$filepath'] = file.path;
+ .then(function(filePath) {
+ tokens['$filepath'] = filePath;
326
swapArt();
327
})
328
.catch(reject);
0 commit comments