1
0
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:
Pierre HUBERT 2020-03-20 12:53:11 +01:00
parent 5c8c3be9ae
commit 547d66e4dd

View File

@ -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!");
} }