fix crash on crazy misskey poll
This commit is contained in:
@@ -7,7 +7,7 @@ pub struct Poll {
|
||||
/// The ID of the poll in the database.
|
||||
pub id: String,
|
||||
/// When the poll ends.
|
||||
pub expires_at: String, // Datetime??
|
||||
pub expires_at: Option<String>, // Datetime?? // XXX misskey polls can have null here WTF???
|
||||
/// Is the poll currently expired?
|
||||
pub expired: bool,
|
||||
/// Does the poll allow multiple-choice answers?
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user