mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 08:35:17 +00:00
Add countdown timers support
This commit is contained in:
@ -250,6 +250,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