未验证 提交 873bf5dd 编写于 作者: T Tuan Nguyen 提交者: GitHub

Remove an undefined parameter (#20762)

`getLoginSession` takes only one argument
上级 a1a4af2d
......@@ -4,7 +4,7 @@ import { getLoginSession } from '../../lib/auth'
export default async function logout(req, res) {
try {
const session = await getLoginSession(req, false)
const session = await getLoginSession(req)
if (session) {
await magic.users.logoutByIssuer(session.issuer)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册