Skip to content

Commit

Permalink
fix(middleware): update function name to find pocket user
Browse files Browse the repository at this point in the history
  • Loading branch information
sws2apps-admin authored Dec 5, 2022
1 parent b848e92 commit 421832f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/sws-pocket-auth-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const pocketAuthChecker = () => {

const { visitorid } = req.headers;

const user = await Users.findPocketByVisitorID(visitorid);
const user = await Users.findPocketByVisitorId(visitorid);

// found user or it is a sign up request
if (user || req.path === "/signup") {
Expand Down

0 comments on commit 421832f

Please sign in to comment.