Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjik committed Aug 18, 2015
1 parent a46173a commit 2759b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Http/Controllers/UserController.php
Expand Up @@ -255,7 +255,7 @@ public function unlinkSocialLogin($id, $provider)
*/
public function getOne($id)
{
$this->validateId($id, $this->getKeyName());
$this->validateId($id, $this->getModel()->getKeyName());

$user = User::find($id);

Expand Down

0 comments on commit 2759b7b

Please sign in to comment.