diff --git a/.changeset/lazy-eagles-cough.md b/.changeset/lazy-eagles-cough.md new file mode 100644 index 00000000..2446ed45 --- /dev/null +++ b/.changeset/lazy-eagles-cough.md @@ -0,0 +1,5 @@ +--- +"@absmach/magistrala-sdk": patch +--- + +update sending message diff --git a/src/messages.ts b/src/messages.ts index 7b23ab99..054a7042 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -62,7 +62,7 @@ export default class Messages { method: "POST", headers: { "Content-Type": this.contentType, - Authorization: `client ${clientKey}`, + Authorization: `Client ${clientKey}`, }, body: msg, };