Skip to content

Commit

Permalink
v0.0.5 - fix image links
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico105 committed Aug 20, 2022
1 parent e00be20 commit 2fe6c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "marktguru.at",
"version": "0.0.4",
"version": "0.0.5",
"description": "A library to search for offers on marktguru.at",
"main": "dist/index.js",
"types": "typings/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ export const search = async (query: string = '', options: marktguru.SearchOption
images: {
...offer.images,
urls: {
small: `https://mg2de.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/small.jpg`,
medium: `https://mg2de.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/medium.jpg`,
large: `https://mg2de.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/large.jpg`
small: `https://mgat.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/small.jpg`,
medium: `https://mgat.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/medium.jpg`,
large: `https://mgat.b-cdn.net/api/v1/offers/${offer.id}/images/default/0/large.jpg`
}
}
}));
Expand Down

0 comments on commit 2fe6c3b

Please sign in to comment.