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