Skip to content

Commit 65b3085

Browse files
Change language parameter from string to int
This fixes the issue where tokens fail to renew
1 parent 80dbbfb commit 65b3085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcomfortcloud/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _create_token(self):
122122
response = None
123123

124124
payload = {
125-
"language": "0",
125+
"language": 0,
126126
"loginId": self._username,
127127
"password": self._password
128128
}

0 commit comments

Comments
 (0)