Skip to content

Commit

Permalink
Corrected spelling of response.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eldon Ahrold committed Sep 5, 2016
1 parent 5d062ad commit 487e985
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public function auth($request)
public function validAuthenticationResponse($request, $result)
{
if (Str::startsWith($request->channel_name, 'private')) {
return $this->decodedPusherRepsone(
return $this->decodedPusherResponse(
$this->pusher->socket_auth($request->channel_name, $request->socket_id)
);
} else {
return $this->decodedPusherRepsone(
return $this->decodedPusherResponse(
$this->pusher->presence_auth(
$request->channel_name, $request->socket_id, $request->user()->id, $result)
);
Expand Down Expand Up @@ -98,7 +98,7 @@ public function getPusher()
* @param mixed $response
* @return array
*/
public function decodedPusherRepsone($response)
public function decodedPusherResponse($response)
{
return json_decode($response, true);
}
Expand Down

0 comments on commit 487e985

Please sign in to comment.