Skip to content

Commit

Permalink
Merge pull request artemave#100 from taupiqueur/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
artemave authored Dec 18, 2022
2 parents e9a9812 + 59b244b commit efeadeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function translate(word, sl, tl, last_translation, onresponse, ga_event_na
console.error(response)

if (response.status == 429) {
await chrome.storeage.sync.set({blockExpiresAt: addMilliseconds(new Date(), blockTimeoutMs), blockedErrorCount: 1})
await chrome.storage.sync.set({blockExpiresAt: addMilliseconds(new Date(), blockTimeoutMs), blockedErrorCount: 1})
return {message: blockedErrorMessage(blockExpiresAt), error: true}
}
}
Expand Down

0 comments on commit efeadeb

Please sign in to comment.