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:
TheBestJohn
2018-02-10 18:22:30 +00:00
committed by Aaron Power
parent 0b5441e52c
commit ab1e5f86f0
6 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -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