File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ describe('LinkSDK', () => {
7777 continueTo : value
7878 } ) ;
7979
80- expect ( mockValue . params . continueTo ) . toBe ( value ) ;
80+ expect ( mockValue . params . continue ) . toBe ( value ) ;
8181 } ) ;
8282
8383 test ( 'responseType' , async ( ) => {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ interface IConfig {
1616export interface IParams {
1717 client_id : string ;
1818 locale ?: string ;
19- continueTo ?: string ;
19+ continue ?: string ;
2020}
2121
2222export interface IOauthParams {
@@ -73,14 +73,14 @@ class LinkSDK {
7373 this . params = {
7474 client_id : clientId ,
7575 locale,
76- continueTo
76+ continue : continueTo
7777 } ;
7878
7979 this . oauthParams = {
8080 client_id : clientId ,
8181 redirect_uri : redirectUri ,
8282 response_type : responseType ,
83- scope : scope . length ? scope . join ( ' ' ) : undefined ,
83+ scope : scope . join ( ' ' ) || undefined ,
8484 state
8585 } ;
8686
You can’t perform that action at this time.
0 commit comments