forked from MightyPork/elefren-fork
Fixed the registration of new apps as well as url of statuses is now an Option<String> (#23)
* Changes IDs to Strings for compliance with APIv1 * - Changed Scope to Scopes to coencide with a quirk of the Mastodon API. Initial registration of the app asks for "Scopes" and authorization asks for "Scope" - Swapped spaces for urlencoded spaces in the scopes serde definition to prevent broken links - url of status is returned as a Map not a string" * Fixed tests and updated Version number * Fixed tests and verified now... learning experience
This commit is contained in:
@@ -12,7 +12,7 @@ pub struct Status {
|
||||
/// A Fediverse-unique resource ID.
|
||||
pub uri: String,
|
||||
/// URL to the status page (can be remote)
|
||||
pub url: String,
|
||||
pub url: Option<String>,
|
||||
/// The Account which posted the status.
|
||||
pub account: Account,
|
||||
/// The ID of the status this status is replying to, if the status is
|
||||
|
||||
Reference in New Issue
Block a user