Merge pull request #77 from fosrl/hotfix-2
remove double createHttpError
This commit is contained in:
commit
d27ecaae5e
1 changed files with 1 additions and 4 deletions
|
@ -109,11 +109,8 @@ export async function authWithPincode(
|
|||
return next(
|
||||
createHttpError(
|
||||
HttpCode.UNAUTHORIZED,
|
||||
createHttpError(
|
||||
HttpCode.BAD_REQUEST,
|
||||
"Resource has no pincode protection"
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue