@fiado/api-invoker 1.4.3 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ let DirectoryApi = class DirectoryApi {
38
38
  const body = {
39
39
  directoryId,
40
40
  };
41
- return await this.httpRequest.delete(`${url}`, body, { 'operationName': operationName });
41
+ return await this.httpRequest.post(`${url}`, body, { 'operationName': operationName });
42
42
  }
43
43
  async validateSecretNumber(directoryId, secretNumber) {
44
44
  const url = `${this.baseUrl}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -37,7 +37,7 @@ export class DirectoryApi implements IDirectoryApi {
37
37
  directoryId,
38
38
  }
39
39
 
40
- return await this.httpRequest.delete(`${url}`, body, { 'operationName': operationName });
40
+ return await this.httpRequest.post(`${url}`, body, { 'operationName': operationName });
41
41
  }
42
42
 
43
43