Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciovander authored Mar 9, 2017
1 parent e263fd2 commit 49198b6
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 49198b6

Please sign in to comment.