Skip to content

Commit 5c44f0a

Browse files
Merge pull request #274 from tigergraph/fix/pTG#273
fix: fix issue #273
2 parents d42a804 + f1e43d5 commit 5c44f0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyTigerGraph/common/auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def _prep_token_request(restppUrl: str,
9595
if token:
9696
data["tokens"] = token
9797
alt_data["token"] = token
98+
if graphname:
99+
alt_data["graph"] = graphname
98100
if secret:
99101
authMode = "None"
100102
data["secret"] = secret

0 commit comments

Comments
 (0)