Skip to content

Commit

Permalink
Do not duplicate data
Browse files Browse the repository at this point in the history
  • Loading branch information
j-a-n committed Oct 9, 2024
1 parent 12a26c8 commit 46bcc31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wallpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,6 @@ class WallpanelView extends HuiView {
const url = entry.urls.raw + "&w=${width}&h=${height}&auto=format";
urls.push(url);
data[url] = entry;
data[url]["unsplash"] = JSON.parse(JSON.stringify(entry));
});
} else {
logger.warn("Unsplash API error, get random images", http);
Expand Down

0 comments on commit 46bcc31

Please sign in to comment.