@salesforcedevs/dx-components 0.59.0-avatar-button-7 → 0.59.0-avatar-button-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.59.0-avatar-button-7",
3
+ "version": "0.59.0-avatar-button-8",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -103,7 +103,9 @@ export default class AvatarButton extends LightningElement {
103
103
  try {
104
104
  await fetch(TBID_API_TOKEN_URL, {
105
105
  method: "POST",
106
- body: token
106
+ body: JSON.stringify({
107
+ token
108
+ })
107
109
  });
108
110
  } catch (ex) {
109
111
  // If the request fails for some reason, fall back to whatever we've got