Skip to content

Commit

Permalink
fixed url used in authCheck service method
Browse files Browse the repository at this point in the history
  • Loading branch information
codesprut committed Dec 23, 2020
1 parent 3df208e commit 791eea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giftseeker",
"version": "2.2.2",
"version": "2.2.3",
"author": "CodeSprut",
"license": "MIT",
"description": "Automatically join giveaways",
Expand Down
2 changes: 1 addition & 1 deletion src/app/seeker/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = class Seeker {

async authCheck() {
return this.http
.get(this.authCheckUrl ?? this.authPageUrl)
.get(this.authCheckUrl ?? this.websiteUrl)
.then(res => (res.data.indexOf(this.authContent) >= 0 ? 1 : 0))
.catch(err => (err.status === 200 ? 0 : -1));
}
Expand Down

0 comments on commit 791eea7

Please sign in to comment.