Rename ResetPasswordDetails to AccountRecoveryDetails

This commit is contained in:
Rui Tome 2024-05-14 11:36:58 +01:00
parent 0c1af0f530
commit 7dabcc7980
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ export abstract class OrganizationUserService {
* @param organizationId - Identifier for the organization
* @param ids - A list of organization user identifiers
*/
abstract getManyOrganizationUserResetPasswordDetails(
abstract getManyOrganizationUserAccountRecoveryDetails(
organizationId: string,
ids: string[],
): Promise<ListResponse<OrganizationUserResetPasswordDetailsResponse>>;

View File

@ -98,13 +98,13 @@ export class OrganizationUserServiceImplementation implements OrganizationUserSe
return new OrganizationUserResetPasswordDetailsResponse(r);
}
async getManyOrganizationUserResetPasswordDetails(
async getManyOrganizationUserAccountRecoveryDetails(
organizationId: string,
ids: string[],
): Promise<ListResponse<OrganizationUserResetPasswordDetailsResponse>> {
const r = await this.apiService.send(
"POST",
"/organizations/" + organizationId + "/users/reset-password-details",
"/organizations/" + organizationId + "/users/account-recovery-details",
new OrganizationUserBulkRequest(ids),
true,
true,