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

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