mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 14:56:39 +00:00
Merge pull request #77 from fosrl/hotfix-2
remove double createHttpError
This commit is contained in:
@@ -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"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user