mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 16:35:17 +00:00
Can create countdown timers
This commit is contained in:
@ -104,9 +104,13 @@ pub fn create(p: &Post) -> ResultBoxError<u64> {
|
||||
.add_opt_str("image_page", weblink.image.as_ref());
|
||||
}
|
||||
|
||||
// Countdown timer
|
||||
POST_KIND_COUNTDOWN(count_down) => {
|
||||
insert_query = insert_query.add_u64("time_end", *count_down);
|
||||
}
|
||||
|
||||
_ => unimplemented!()
|
||||
/*
|
||||
POST_KIND_COUNTDOWN(_) => {},
|
||||
POST_KIND_SURVEY => {},
|
||||
*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user