Abhinav Dhasmana
1 min readFeb 20, 2018

--

Hi Max Jacobson

The tenantId should be passed to the constructor function when creating an object.

Something like this

const user = initializeUsers(tenantId);

or If you have using ES6 classes

const user = new User(tenantId);

--

--

Abhinav Dhasmana

Senior Staff Engineer @freshworks. Ex-McKinsey/Microsoft/Slideshare/SAP, Tech Enthusiast, Passionate about India. Opinions are mine