1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

rename method Get => GetUser

This commit is contained in:
Kyle Spearrin 2017-04-05 16:45:21 -04:00
parent e414b8d731
commit 50062d5e33

View File

@ -48,7 +48,7 @@ namespace Bit.Api.Controllers
}
[HttpGet("")]
public async Task<ListResponseModel<OrganizationResponseModel>> Get()
public async Task<ListResponseModel<OrganizationResponseModel>> GetUser()
{
var userId = _userService.GetProperUserId(User).Value;
var organizations = await _organizationRepository.GetManyByUserIdAsync(userId);