mattn / go-mastodon

mastodon client for golang
MIT License
600 stars 85 forks source link

Add support for Field, Source and Locked parameters to AccountUpdate() #95

Closed buckket closed 5 years ago

buckket commented 5 years ago

A few parameters were missing for the update_credentials endpoint.

Reference: https://docs.joinmastodon.org/api/rest/accounts/#patch-api-v1-accounts-update-credentials

mattn commented 5 years ago

Also could you please modify test? (I think modifying small is enoguh)

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.2%) to 91.65% when pulling 8fec78b0b8fd6ee9c5fa2963eca9903e43b0f06a on buckket:profile into e725c814500729bbc5c998e827de744997ed2236 on mattn:master.

mattn commented 5 years ago

Thank you