File tree 1 file changed +6
-4
lines changed
web-assets/auth0/prod-tenant/database
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 50
50
"isoAlpha3Code" : countryObj . alpha3 ,
51
51
"isoAlpha2Code" : countryObj . alpha2
52
52
} ,
53
+ "primaryRole" : user . user_metadata . primaryRole ,
53
54
"regSource" : regSource ,
54
55
"utmSource" : utmSource ,
55
56
"utmMedium" : utmMedium ,
59
60
"afterActivationURL" : encodeURIComponent ( afterActivationURL )
60
61
}
61
62
} ;
63
+ // console.log("SignUp....", user, data);
62
64
request . post ( {
63
65
url : "https://api." + configuration . DOMAIN + "/v3/users" ,
64
66
json : data
65
67
//for more options check:
66
68
//https://github.com/mikeal/request#requestoptions-callback
67
69
} , function ( err , response , body ) {
68
70
69
- console . log ( err ) ;
70
- console . log ( response . statusCode ) ;
71
- console . log ( body ) ;
71
+ // console.log(err);
72
+ // console.log(response.statusCode);
73
+ // console.log(body);
72
74
73
75
if ( err ) return callback ( err ) ;
74
76
99
101
callback ( null ) ;
100
102
} ) ; //end post request
101
103
//callback(null);
102
- }
104
+ }
You can’t perform that action at this time.
0 commit comments