Fix editing Markdown/HTML statuses
This commit is contained in:
parent
1cf7434918
commit
de53e0dcd6
|
@ -22,7 +22,7 @@ struct EditStatusParameters: Encodable, Sendable {
|
|||
var container = encoder.container(keyedBy: CodingKeys.self)
|
||||
try container.encode(self.id, forKey: .id)
|
||||
try container.encode(self.text, forKey: .text)
|
||||
try container.encode(self.contentType, forKey: .contentType)
|
||||
try container.encode(self.contentType.mimeType, forKey: .contentType)
|
||||
try container.encodeIfPresent(self.spoilerText, forKey: .spoilerText)
|
||||
try container.encode(self.sensitive, forKey: .sensitive)
|
||||
try container.encodeIfPresent(self.language, forKey: .language)
|
||||
|
|
Loading…
Reference in New Issue