Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

link.split is not a function #8

Open
mbabar-cs opened this issue Feb 1, 2018 · 0 comments
Open

link.split is not a function #8

mbabar-cs opened this issue Feb 1, 2018 · 0 comments

Comments

@mbabar-cs
Copy link

var bits = link.split(";");
TypeError: link.split is not a function
node_modules\okta-node\lib\NetworkAbstraction.js:100:37

I have added below code on line 100

if (typeof link !== "function") { 
          // safe to use the function
          var bits = link.split(";");
    }

It's working fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant