File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ export class UserInfoService {
26
26
public getUserInfo ( options ?: UserRecordOptions ) : Observable < UserInfo > {
27
27
return this . _http
28
28
. get < UserInfo > (
29
- environment . API_WEB +
30
- ( options ?. publicRecordId ? options . publicRecordId + '/' : '' ) +
31
- 'userInfo.json' ,
29
+ 'https://auth.dev.orcid.org/userInfo.json' ,
32
30
{
33
31
withCredentials : true ,
34
32
}
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export class UserService {
95
95
96
96
public getUserStatus ( ) : Observable < boolean > {
97
97
return this . _http
98
- . get < UserStatus > ( environment . API_WEB + 'userStatus .json', {
98
+ . get < UserStatus > ( 'https://auth.dev.orcid.org/userInfo .json', {
99
99
withCredentials : true ,
100
100
} )
101
101
. pipe ( map ( ( response ) => ! ! response . loggedIn ) )
You can’t perform that action at this time.
0 commit comments