remove double createHttpError

This commit is contained in:
Milo Schwartz 2025-01-17 21:59:06 -05:00
parent 40a2933e25
commit f0898613a2
No known key found for this signature in database

View file

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