Skip to content

Commit 17f9a5f

Browse files
authored
Merge pull request #89 from lostfields/bugfix/version
bugfix/New version app has been published
2 parents 6cd2b45 + 36e00e7 commit 17f9a5f

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

pcomfortcloud/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def logout(self):
108108
def _headers(self):
109109
return {
110110
"X-APP-TYPE": "1",
111-
"X-APP-VERSION": "1.19.0",
111+
"X-APP-VERSION": "1.20.1",
112112
"X-User-Authorization": self._vid,
113113
"X-APP-TIMESTAMP": "1",
114114
"X-APP-NAME": "Comfort Cloud",

requests.http

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@APP-VERSION = 1.19.0
1+
@APP-VERSION = 1.20.1
22

33
###
44

@@ -14,9 +14,9 @@ Accept: application/json; charset=utf-8
1414
Content-Type: application/json; charset=utf-8
1515

1616
{
17-
"language": "0",
18-
"loginId": "***",
19-
"password": "***"
17+
"language": 0,
18+
"loginId": "{{$dotenv USERNAME}}",
19+
"password": "{{$dotenv PASSWORD}}"
2020
}
2121

2222
###
@@ -129,6 +129,9 @@ X-APP-TYPE: 1
129129
X-APP-VERSION: {{APP-VERSION}}
130130
Accept: application/json; charset=utf-8
131131
Content-Type: application/json
132+
X-APP-TIMESTAMP: 1
133+
X-APP-NAME: Comfort Cloud
134+
X-CFC-API-KEY: Comfort Cloud
132135
User-Agent: G-RAC
133136
Host: accsmart.panasonic.com
134137
Connection: Keep-Alive

0 commit comments

Comments
 (0)