Skip to content

Commit

Permalink
fix minor type error
Browse files Browse the repository at this point in the history
  • Loading branch information
orlein committed Dec 1, 2024
1 parent a60f6df commit 1577173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/challenge-event/challenge-event-repo.mts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ where ${sql('id')} = ${request.id};

const with_ = <A, E, R>(
id: ChallengeEventId,
f: (event: ChallengeEvent) => Effect.Effect<A, E, R>,
f: (event: ChallengeEventView) => Effect.Effect<A, E, R>,
): Effect.Effect<A, E | ChallengeEventNotFound, R> =>
pipe(
findById(id),
Expand Down

0 comments on commit 1577173

Please sign in to comment.