Bluelink: fix missing header on register call (#5324)

This commit is contained in:
Michael Panzer 2022-11-30 14:43:47 +01:00 • committed by GitHub
parent 675e944ce8
commit ab57a858a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,10 +72,11 @@ func (v *Identity) getDeviceID() (string, error) {
}
headers := map[string]string{
"ccsp-service-id": v.config.CCSPServiceID,
"Content-type": "application/json;charset=UTF-8",
"User-Agent": "okhttp/3.10.0",
"Stamp": stamp,
"ccsp-service-id": v.config.CCSPServiceID,
"ccsp-application-id": v.config.CCSPApplicationID,
"Content-type": "application/json;charset=UTF-8",
"User-Agent": "okhttp/3.10.0",
"Stamp": stamp,
}
var resp struct {