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