Skip to content
Snippets Groups Projects
Commit 485d75a8 authored by Yann GUERN's avatar Yann GUERN Committed by GitHub
Browse files

#1141 on remote follow

The async action is send before persist, account.id not yet generated

Pull queue receive 'nil' so no profile update.
parent a872f2f4
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@ class FollowRemoteAccountService < BaseService
account.uri = get_account_uri(xml)
account.hub_url = hubs.first.attribute('href').value
get_profile(body, account)
account.save!
get_profile(body, account)
account
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment