Save account information after successful updateCredentials
This used to be handled at one callsite. contributes to iOS-319
This commit is contained in:
parent
ae7aaf091d
commit
96e3bec016
|
@ -95,6 +95,8 @@ extension APIService {
|
|||
authorization: authorization
|
||||
).singleOutput()
|
||||
|
||||
PersistenceManager.shared.cacheAccount(response.value, forUserID: MastodonUserIdentifier(domain: domain, userID: response.value.id))
|
||||
|
||||
return response
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue