fix(dependencies): update

This commit is contained in:
2018-10-07 22:29:14 +02:00
parent 4cec262ed8
commit 7012782480
4 changed files with 12 additions and 130 deletions

View File

@ -9,10 +9,7 @@ export class Slackme {
}
sendMessage(messageOptionsArg: IMessageOptions, channelArg: string = 'general') {
plugins.smartrequest.post(`${this.baseUrl}${this.postRoute}`, {
headers: {
'Content-Type': 'application/json'
},
plugins.smartrequest.postJson(`${this.baseUrl}${this.postRoute}`, {
requestBody: {
channel: channelArg,
attachments: [messageOptionsArg]

View File

@ -1,3 +1,3 @@
import * as smartrequest from 'smartrequest';
import * as smartrequest from '@pushrocks/smartrequest';
export { smartrequest };