2
2
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:
shannon 2024-11-19 10:21:43 -05:00
parent ae7aaf091d
commit 96e3bec016

View File

@ -95,6 +95,8 @@ extension APIService {
authorization: authorization
).singleOutput()
PersistenceManager.shared.cacheAccount(response.value, forUserID: MastodonUserIdentifier(domain: domain, userID: response.value.id))
return response
}