Skip to content

Commit

Permalink
Merge pull request #19 from mauriciovander/patch-1
Browse files Browse the repository at this point in the history
BugFix
  • Loading branch information
IsraelOrtuno authored Mar 9, 2017
2 parents e263fd2 + 49198b6 commit a62685e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/Basics/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function emails($id, $options = [])
*/
public function addFollower($id, $user_id)
{
return $this->post(':id/followers', compact('id', 'user_id'));
return $this->request->post(':id/followers', compact('id', 'user_id'));
}

/**
Expand All @@ -53,7 +53,7 @@ public function addFollower($id, $user_id)
*/
public function deleteFollower($id, $follower_id)
{
return $this->delete(':id/followers/:follower_id', compact('id', 'follower_id'));
return $this->request->delete(':id/followers/:follower_id', compact('id', 'follower_id'));
}

/**
Expand All @@ -65,6 +65,6 @@ public function deleteFollower($id, $follower_id)
*/
public function merge($id, $merge_with_id)
{
return $this->put(':id/merge', compact('id', 'merge_with_id'));
return $this->request->put(':id/merge', compact('id', 'merge_with_id'));
}
}

0 comments on commit a62685e

Please sign in to comment.