Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Apr 24, 2023
1 parent 595ba73 commit 1e09dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _project/api/_src/Usecases/Blog.Controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const PublishPost = blog.matchPublishPost(
// while operation is running...
(_opId) =>
Effect
.suspend(() => events.publish(new BogusEvent({})))
.schedule(Schedule.spaced(DUR.seconds(1)))
.suspend(() => events.publish(new BogusEvent()))
.schedule(Schedule.spaced(Duration.seconds(1)))
)
)

Expand Down

0 comments on commit 1e09dc4

Please sign in to comment.