From 64d30b9c8994cfd5f7e296634c012bde4212b25b Mon Sep 17 00:00:00 2001 From: Patrick Roza Date: Sun, 23 Apr 2023 11:49:44 +0200 Subject: [PATCH] cleanup --- _project/api/_src/Usecases/Blog.Controllers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_project/api/_src/Usecases/Blog.Controllers.ts b/_project/api/_src/Usecases/Blog.Controllers.ts index 3d7b6ed3..602080b1 100644 --- a/_project/api/_src/Usecases/Blog.Controllers.ts +++ b/_project/api/_src/Usecases/Blog.Controllers.ts @@ -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))) ) )