fix(core): update

This commit is contained in:
2019-08-31 23:14:46 +02:00
parent aef1e6183c
commit 3667946b2f
4 changed files with 1200 additions and 5 deletions

View File

@ -16,11 +16,11 @@ export class TypedRequest<T extends plugins.typedRequestInterfaces.ITypedRequest
public async fire(fireArg: T['request']): Promise<T['response']> {
const response = await plugins.smartrequest.request(this.urlEndPoint, {
method: 'POST',
requestBody: {
requestBody: JSON.stringify({
method: this.method,
request: fireArg,
response: null
}
})
});
return response.body.response;
}