Merge pull request #77 from fosrl/hotfix-2

remove double createHttpError
This commit is contained in:
Milo Schwartz 2025-01-17 22:00:25 -05:00 committed by GitHub
commit d27ecaae5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,11 +109,8 @@ export async function authWithPincode(
return next(
createHttpError(
HttpCode.UNAUTHORIZED,
createHttpError(
HttpCode.BAD_REQUEST,
"Resource has no pincode protection"
)
)
);
}