fix(core): update
This commit is contained in:
parent
41f98b6869
commit
09c0bc4e6f
@ -22,14 +22,12 @@ export class Slackme {
|
|||||||
}
|
}
|
||||||
postUrl = this.updateUrl;
|
postUrl = this.updateUrl;
|
||||||
}
|
}
|
||||||
console.log(requestBody);
|
|
||||||
const response = await plugins.smartrequest.postJson(postUrl, {
|
const response = await plugins.smartrequest.postJson(postUrl, {
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': `Bearer ${this.slackToken}`
|
'Authorization': `Bearer ${this.slackToken}`
|
||||||
},
|
},
|
||||||
requestBody
|
requestBody
|
||||||
});
|
});
|
||||||
console.log(response.body);
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user