Commit 23f9f4e 1 parent 16fae11 commit 23f9f4e Copy full SHA for 23f9f4e
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class AhoiResourceOwner implements ResourceOwnerInterface
18
18
*/
19
19
public function __construct (array $ response = array ())
20
20
{
21
- $ this ->response = $ response ;
21
+ $ this ->response = $ response[ " message " ] ;
22
22
}
23
23
24
24
/**
@@ -38,7 +38,7 @@ public function getEmail()
38
38
*/
39
39
public function getFirstname ()
40
40
{
41
- return $ this ->response ['first_name ' ] ?: null ;
41
+ return $ this ->response ['firstname ' ] ?: null ;
42
42
}
43
43
44
44
/**
@@ -58,7 +58,7 @@ public function getImageurl()
58
58
*/
59
59
public function getLastname ()
60
60
{
61
- return $ this ->response ['last_name ' ] ?: null ;
61
+ return $ this ->response ['lastname ' ] ?: null ;
62
62
}
63
63
64
64
/**
@@ -68,7 +68,7 @@ public function getLastname()
68
68
*/
69
69
public function getId ()
70
70
{
71
- return $ this ->response ['uuid ' ] ?: null ;
71
+ return $ this ->response ['id ' ] ?: null ;
72
72
}
73
73
74
74
/**
You can’t perform that action at this time.
0 commit comments