Skip to content

Commit

Permalink
update scope
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanganderson committed May 13, 2024
1 parent 58679c9 commit 441295c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.1",
"version": "3.0.2",
"license": "Apache-2.0",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/classes/HttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export abstract class HttpClient {
params.append('grant_type', 'client_credentials');
params.append(
'scope',
'free-trial-numbers:read free-trial-numbers:write virtual-numbers:read virtual-numbers:write messages:read messaging:write reports:read reports:write'
'free-trial-numbers:read free-trial-numbers:write messages:read messages:write virtual-numbers:read virtual-numbers:write reports:read reports:write'
);

const auth = await this.instance.post(`/v2/oauth/token`, params);
Expand Down

0 comments on commit 441295c

Please sign in to comment.