Skip to content

Commit 4ecbbc6

Browse files
committed
temporarily remove click api scopes injection from ds client classmethod
1 parent e7ff996 commit 4ecbbc6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

app/docusign/ds_client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"dtr.profile.write", "dtr.company.read", "dtr.company.write"
2222
]
2323

24-
CLICK_SCOPES = [
25-
"signature", "click.manage", "click.send"
26-
]
24+
# CLICK_SCOPES = [
25+
# "signature", "click.manage", "click.send"
26+
# ]
2727

2828

2929
class DSClient:
@@ -42,8 +42,8 @@ def _auth_code_grant(cls):
4242
oauth = OAuth(app)
4343
if EXAMPLES_API_TYPE["Rooms"]:
4444
use_scopes = ROOMS_SCOPES
45-
elif EXAMPLES_API_TYPE["Click"]:
46-
use_scopes = CLICK_SCOPES
45+
# elif EXAMPLES_API_TYPE["Click"]:
46+
# use_scopes = CLICK_SCOPES
4747
else:
4848
use_scopes = SCOPES
4949
request_token_params = {
@@ -72,8 +72,8 @@ def _jwt_auth(cls):
7272

7373
if EXAMPLES_API_TYPE["Rooms"]:
7474
use_scopes = ROOMS_SCOPES
75-
elif EXAMPLES_API_TYPE["Click"]:
76-
use_scopes = CLICK_SCOPES
75+
# elif EXAMPLES_API_TYPE["Click"]:
76+
# use_scopes = CLICK_SCOPES
7777
else:
7878
use_scopes = SCOPES
7979

0 commit comments

Comments
 (0)