remove double createHttpError

This commit is contained in:
Milo Schwartz 2025-01-17 21:59:06 -05:00
parent aad34b878a
commit 23c43c7eb9

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"
) )
)
); );
} }