mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 07:26:48 +00:00
fix: 修复 eslint 报错
This commit is contained in:
@@ -62,7 +62,10 @@ export default async function handler(
|
||||
}
|
||||
|
||||
// 这里将用户数据写入到Notion数据库
|
||||
res.redirect(302, `/auth/result?${new URLSearchParams(redirectQuery)}`)
|
||||
res.redirect(
|
||||
302,
|
||||
`/auth/result?${new URLSearchParams(redirectQuery).toString()}`
|
||||
)
|
||||
} else {
|
||||
const redirectQuery = { msg: params?.statusText || '请求异常' }
|
||||
res.redirect(
|
||||
|
||||
Reference in New Issue
Block a user