Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Add Content-Type header to requestUri
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Nov 9, 2023
1 parent 1c4d4a2 commit 11c9bd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class Boschindego extends utils.Adapter {
const requestUri = `${commandUri}alms/${alm_sn}/state`;
const params = {
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${credentials.access_token}`,
'User-Agent': userAgent
},
Expand Down

0 comments on commit 11c9bd0

Please sign in to comment.