Skip to content

Commit 7276b42

Browse files
committed
fix: getOrg() renamed to getOrganization()
1 parent 608b823 commit 7276b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CoCreateTwilio {
2727
let org = 0;
2828
let client;
2929
try {
30-
let org_data = await api.getOrg(params, this.name);
30+
let org_data = await api.getOrganization(params, this.name);
3131
let environment = typeof params['environment'] != 'undefined' ? params['environment'] : this.environment;
3232
const accountId = org_data['apis.twilio.' + environment + '.twilioAccountId'];//org_data["apis"]["twilio"]["twilioAccountId"];
3333
const authToken = org_data['apis.twilio.' + environment + '.twilioAuthToken'];

0 commit comments

Comments
 (0)