mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
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…
x
Reference in New Issue
Block a user