Skip to content

Commit

Permalink
Merge branch 'main' into feat-evga-eu
Browse files Browse the repository at this point in the history
  • Loading branch information
moretti committed Sep 21, 2020
2 parents ea0c5aa + 12d25eb commit 3ec7b9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/notification/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export function sendDiscordMessage(cartUrl: string, link: Link) {
embed.addField('Brand', link.brand, true);
embed.addField('Model', link.model, true);

if (notifyGroup !== '') {
embed.addField('Attention', notifyGroup, true);
if (notifyGroup) {
embed.setText(notifyGroup);
}

embed.setColor(0x76B900);
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/officedepot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const OfficeDepot: Store = {
],
labels: {
captcha: ['please verify you are a human'],
outOfStock: ['out of stock for delivery', 'out of stock']
outOfStock: ['out of stock for delivery', 'out of stock', 'we are unable to process your last request']
},
name: 'officedepot'
};

0 comments on commit 3ec7b9a

Please sign in to comment.