mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 19:05:07 -05:00
import groups and users for org via api
This commit is contained in:
@ -131,7 +131,7 @@ namespace Bit.Api.Controllers
|
||||
}
|
||||
|
||||
[HttpPost("import")]
|
||||
public async Task PostImport([FromBody]ImportRequestModel model)
|
||||
public async Task PostImport([FromBody]ImportPasswordsRequestModel model)
|
||||
{
|
||||
var userId = _userService.GetProperUserId(User).Value;
|
||||
var folders = model.Folders.Select(f => f.ToFolder(userId)).ToList();
|
||||
|
Reference in New Issue
Block a user