chore(lint): manual fixes - remove redundant global declarations; add safe getMethod fallback; remove unused catch vars
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { verifyRegistrationResponse } from '@simplewebauthn/server'
|
||||
import { getUserFromToken, readUsers, writeUsers } from '../../../utils/auth.js'
|
||||
import { getWebAuthnConfig } from '../../../utils/webauthn-config.js'
|
||||
/* global getMethod, getHeader, setHeader, readBody, defineEventHandler */
|
||||
import { clearRegistrationChallenge, getRegistrationChallenge } from '../../../utils/webauthn-challenges.js'
|
||||
import { toBase64Url } from '../../../utils/webauthn-encoding.js'
|
||||
import { writeAuditLog } from '../../../utils/audit-log.js'
|
||||
|
||||
Reference in New Issue
Block a user