fix(dependencies): update
This commit is contained in:
@ -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]
|
||||
|
@ -1,3 +1,3 @@
|
||||
import * as smartrequest from 'smartrequest';
|
||||
import * as smartrequest from '@pushrocks/smartrequest';
|
||||
|
||||
export { smartrequest };
|
||||
|
Reference in New Issue
Block a user