mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Add YouTube posts support
This commit is contained in:
@ -61,7 +61,7 @@ pub enum PostKind {
|
||||
POST_KIND_COUNTDOWN(u64),
|
||||
// End time
|
||||
POST_KIND_SURVEY,
|
||||
POST_KIND_YOUTUBE,
|
||||
POST_KIND_YOUTUBE(String),
|
||||
}
|
||||
|
||||
impl PostKind {
|
||||
@ -74,7 +74,7 @@ impl PostKind {
|
||||
PostKind::POST_KIND_MOVIE(_) => "movie",
|
||||
PostKind::POST_KIND_COUNTDOWN(_) => "countdown",
|
||||
PostKind::POST_KIND_SURVEY => "survey",
|
||||
PostKind::POST_KIND_YOUTUBE => "youtube",
|
||||
PostKind::POST_KIND_YOUTUBE(_) => "youtube",
|
||||
}.to_string()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user