fix data loss when re-adding existing account (#2601)
This commit is contained in:
parent
9dcb1b666c
commit
8a0848d252
4 changed files with 71 additions and 42 deletions
|
|
@ -250,7 +250,10 @@ interface MastodonApi {
|
|||
): NetworkResult<ResponseBody>
|
||||
|
||||
@GET("api/v1/accounts/verify_credentials")
|
||||
suspend fun accountVerifyCredentials(): NetworkResult<Account>
|
||||
suspend fun accountVerifyCredentials(
|
||||
@Header(DOMAIN_HEADER) domain: String? = null,
|
||||
@Header("Authorization") auth: String? = null,
|
||||
): NetworkResult<Account>
|
||||
|
||||
@FormUrlEncoded
|
||||
@PATCH("api/v1/accounts/update_credentials")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue