biome lint --write

This commit is contained in:
Henry Jameson 2026-01-06 16:20:14 +02:00
commit 8372348148
10 changed files with 27 additions and 27 deletions

View file

@ -37,7 +37,7 @@ export class RegistrationError extends Error {
if (typeof error === 'string') {
error = JSON.parse(error)
// eslint-disable-next-line
if (error.hasOwnProperty('error')) {
if (Object.hasOwn(error, 'error')) {
error = JSON.parse(error.error)
}
}