fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-18 12:27:52 +02:00
parent 41f98b6869
commit 09c0bc4e6f

View File

@ -22,14 +22,12 @@ export class Slackme {
}
postUrl = this.updateUrl;
}
console.log(requestBody);
const response = await plugins.smartrequest.postJson(postUrl, {
headers: {
'Authorization': `Bearer ${this.slackToken}`
},
requestBody
});
console.log(response.body);
return response;
}
}