@fiado/api-invoker 1.2.60 → 1.2.61

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.
@@ -19,7 +19,7 @@ let AccountFiadoIncApi = class AccountFiadoIncApi {
19
19
  this.baseUrl = process.env.ACCOUNT_FIADOINC_LAMBDA_URL || "";
20
20
  }
21
21
  async confirmUserCreation(provider, externalUserId, request) {
22
- const url = `${this.baseUrl}${provider}/users/${externalUserId}/confirm`;
22
+ const url = `${this.baseUrl}${provider}/users/confirm/${externalUserId}`;
23
23
  return await this.httpRequest.put(url, request);
24
24
  }
25
25
  async createAccount(provider, data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.2.60",
3
+ "version": "1.2.61",
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",
@@ -23,7 +23,7 @@ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
23
23
  }
24
24
 
25
25
  async confirmUserCreation(provider: Provider, externalUserId: string, request: AccountCreateRequest): Promise<FiadoApiResponse<AccountCreateResponse>> {
26
- const url = `${this.baseUrl}${provider}/users/${externalUserId}/confirm`;
26
+ const url = `${this.baseUrl}${provider}/users/confirm/${externalUserId}`;
27
27
  return await this.httpRequest.put(url, request);
28
28
  }
29
29