Skip to content

Commit

Permalink
Fix type error (#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanapotski authored Apr 1, 2024
1 parent 99a9048 commit 1b4e26f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/app/controllers/feature-to-login-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const getLoginsByFeature: RequestHandler<

const post: RequestHandler<
never,
{ id: number } | { error: string } | { message: string },
| { ftl_id: number; feature_id: number; login_id: number }
| { error: string }
| { message: string },
FeatureToLogin
> = async (req, res) => {
try {
Expand Down

0 comments on commit 1b4e26f

Please sign in to comment.