mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Add countdown timers support
This commit is contained in:
parent
5c8c3be9ae
commit
547d66e4dd
@ -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!");
|
||||||
|
Loading…
Reference in New Issue
Block a user