Skip to content

Commit

Permalink
Fix a copy/paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jul 30, 2024
1 parent aec55ff commit e9949ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prereview-coar-notify/new-prereview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const postNewPrereview = ({
F.send,
RTE.mapLeft(() => 'network'),
RTE.filterOrElseW(F.hasStatus(Status.Created), () => 'non-201-response' as const),
RTE.orElseFirstW(RTE.fromReaderIOK(flow(error => ({ error }), L.errorP('Failed to get recent review requests')))),
RTE.orElseFirstW(RTE.fromReaderIOK(flow(error => ({ error }), L.errorP('Failed to post new PREreview')))),
RTE.bimap(() => 'unavailable' as const, constVoid),
)

0 comments on commit e9949ab

Please sign in to comment.