mirror of
https://github.com/bitwarden/server
synced 2025-12-23 19:53:40 +00:00
Remove GetManyDetailsByUserAsync & ReplaceAsync DB Calls (#6012)
This commit is contained in:
@@ -206,7 +206,11 @@ public class DevicesController : Controller
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
await _deviceService.SaveAsync(model.ToData(), device);
|
||||
await _deviceService.SaveAsync(
|
||||
model.ToData(),
|
||||
device,
|
||||
_currentContext.Organizations.Select(org => org.Id.ToString())
|
||||
);
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
|
||||
Reference in New Issue
Block a user