Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Jun 13, 2023
1 parent 44fa8ae commit 64d30b9
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 64d30b9

Please sign in to comment.