Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed NoMethodError in UnfollowService #1918

Merged
merged 1 commit into from Apr 16, 2017

Conversation

Projects
None yet
2 participants
@alpaca-tc
Copy link
Contributor

commented Apr 16, 2017

Fixed NoMethodError. It occurred when :account_id is already unfollowed.

*A* `NoMethodError` *occurred while* `POST </api/v1/accounts/:account_id/unfollow>` *was processed by* `accounts#unfollow`

Backtrace
----------------
app/lib/atom_serializer.rb:206:in `unfollow_salmon'
app/services/unfollow_service.rb:16:in `build_xml'
app/services/unfollow_service.rb:9:in `call'
app/controllers/api/v1/accounts_controller.rb:90:in `unfollow'

@Gargron Gargron merged commit 8f83198 into tootsuite:master Apr 16, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
codeclimate no new or fixed issues
Details

@alpaca-tc alpaca-tc deleted the alpaca-tc:patch-1 branch Apr 16, 2017

Nyoho pushed a commit to Nyoho/mastodon that referenced this pull request Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.