mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-09 12:24:40 +02:00
remove double createHttpError
This commit is contained in:
parent
40a2933e25
commit
f0898613a2
1 changed files with 1 additions and 4 deletions
|
@ -109,10 +109,7 @@ export async function authWithPincode(
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
HttpCode.UNAUTHORIZED,
|
HttpCode.UNAUTHORIZED,
|
||||||
createHttpError(
|
"Resource has no pincode protection"
|
||||||
HttpCode.BAD_REQUEST,
|
|
||||||
"Resource has no pincode protection"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue