Skip to content

Commit

Permalink
Merge pull request #77 from fosrl/hotfix-2
Browse files Browse the repository at this point in the history
remove double createHttpError
  • Loading branch information
miloschwartz authored Jan 18, 2025
2 parents 40a2933 + f089861 commit d27ecaa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/routers/resource/authWithPincode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
);
}
Expand Down

0 comments on commit d27ecaa

Please sign in to comment.