mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-07-12 21:02:48 +00:00
Add countdown timers support
This commit is contained in:
@ -249,6 +249,12 @@ export class PostsController {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
// Countdown timers
|
||||||
|
case PostKind.POST_KIND_COUNTDOWN:
|
||||||
|
newPost.timeEnd = h.postInt("time-end");
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
h.error(500, "Unsupported kind of post!");
|
h.error(500, "Unsupported kind of post!");
|
||||||
|
Reference in New Issue
Block a user