diff --git a/src/controllers/PostsController.ts b/src/controllers/PostsController.ts index fe7a416..aea8253 100644 --- a/src/controllers/PostsController.ts +++ b/src/controllers/PostsController.ts @@ -249,6 +249,12 @@ export class PostsController { break; + + // Countdown timers + case PostKind.POST_KIND_COUNTDOWN: + newPost.timeEnd = h.postInt("time-end"); + break; + default: h.error(500, "Unsupported kind of post!");