Skip to content

Commit caff0fe

Browse files
author
lucifer
committed
fix: await return
1 parent a24ff32 commit caff0fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

middleware/passport.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ module.exports = async function checkAuth(ctx, next) {
9999
...user,
100100
pay: false,
101101
};
102-
await next();
103-
return;
104102
}
105103
}
106104

0 commit comments

Comments
 (0)