Skip to content

Commit

Permalink
Support custom primary keys on User model
Browse files Browse the repository at this point in the history
  • Loading branch information
amochohan authored Nov 16, 2016
1 parent 296879e commit 5288be0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function validAuthenticationResponse($request, $result)
} else {
return $this->decodePusherResponse(
$this->pusher->presence_auth(
$request->channel_name, $request->socket_id, $request->user()->id, $result)
$request->channel_name, $request->socket_id, $request->user()->getKey(), $result)
);
}
}
Expand Down

0 comments on commit 5288be0

Please sign in to comment.