mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
rename method Get => GetUser
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("")]
|
[HttpGet("")]
|
||||||
public async Task<ListResponseModel<OrganizationResponseModel>> Get()
|
public async Task<ListResponseModel<OrganizationResponseModel>> GetUser()
|
||||||
{
|
{
|
||||||
var userId = _userService.GetProperUserId(User).Value;
|
var userId = _userService.GetProperUserId(User).Value;
|
||||||
var organizations = await _organizationRepository.GetManyByUserIdAsync(userId);
|
var organizations = await _organizationRepository.GetManyByUserIdAsync(userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user