@@ -27,7 +27,7 @@ |
||
27 | 27 | $this->provider = new Instagram([ |
28 | 28 | 'clientId' => $this->clientId, |
29 | 29 | 'clientSecret' => $this->clientSecret, |
30 | - 'redirectUri' => 'https://' .$this->domainService->getMainDomain() . '/oauth/instagram/return', |
|
30 | + 'redirectUri' => 'https://' . $this->domainService->getMainDomain() . '/oauth/instagram/return', |
|
31 | 31 | //'hostedDomain' => 'example.com', // optional; used to restrict access to users on your G Suite/Instagram Apps for Business accounts |
32 | 32 | ]); |
33 | 33 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | |
25 | 25 | try { |
26 | - $payload = json_decode($request->getContent()); |
|
26 | + $payload = json_decode($request->getContent()); |
|
27 | 27 | |
28 | 28 | $user = $this->service->changePassword($data, $payload->password); |
29 | 29 |
@@ -24,8 +24,8 @@ |
||
24 | 24 | { |
25 | 25 | |
26 | 26 | try { |
27 | - $payload = json_decode($request->getContent()); |
|
28 | - $people = $this->manager->getRepository(People::class)->find($payload->people); |
|
27 | + $payload = json_decode($request->getContent()); |
|
28 | + $people = $this->manager->getRepository(People::class)->find($payload->people); |
|
29 | 29 | |
30 | 30 | $user = $this->service->createUser( |
31 | 31 | $people, |
@@ -24,8 +24,8 @@ |
||
24 | 24 | { |
25 | 25 | |
26 | 26 | try { |
27 | - $payload = json_decode($request->getContent()); |
|
28 | - $people = $this->service->discoveryPeople($payload->email, $payload->name); |
|
27 | + $payload = json_decode($request->getContent()); |
|
28 | + $people = $this->service->discoveryPeople($payload->email, $payload->name); |
|
29 | 29 | |
30 | 30 | $user = $this->service->createUser( |
31 | 31 | $people, |