1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

org update billing

This commit is contained in:
Kyle Spearrin
2017-04-10 19:07:38 -04:00
parent ea6178594c
commit 2b97e4c847
3 changed files with 22 additions and 1 deletions

View File

@ -111,7 +111,7 @@ namespace Bit.Api.Controllers
throw new NotFoundException();
}
await _organizationRepository.ReplaceAsync(model.ToOrganization(organization));
await _organizationService.UpdateAsync(model.ToOrganization(organization), true);
return new OrganizationResponseModel(organization);
}