Skip to content

Commit

Permalink
fix: typo fix (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e authored Aug 17, 2023
1 parent d25aaa9 commit 62e9ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let consecutiveFailsCount = 0;
async function loadStrategies() {
const res = await snapshot.utils.getJSON(uri);

if (res.hasownProperty('error')) {
if (res.hasOwnProperty('error')) {
capture(new Error('Failed to load strategies'), { context: { uri, res } });
return true;
}
Expand Down

0 comments on commit 62e9ad1

Please sign in to comment.