don't set session without providerUri
This commit is contained in:
parent
4bdacf9770
commit
8f773c9de4
|
@ -1083,6 +1083,9 @@
|
|||
me._providerUri = opts.providerUri;
|
||||
}
|
||||
if (opts.session) {
|
||||
if (!me._providerUri) {
|
||||
throw new Error("'providerUri' was not supplied");
|
||||
}
|
||||
me.session(opts.session, opts.sessionId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue