mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00

* PM-2731 - DevicesController.cs - Add new method HasDevicesOfTypes to accept an array of DeviceType values and return a boolean if the authN user has at least a device of one of the given types. * Dotnet format to pass lint rules * PM-2731 - Update naming of HasDevicesOfTypes to be GetExistenceByTypes for increased clarity per PR feedback. * PM-2731-Make GetExistenceByTypes route singular * Update src/Api/Controllers/DevicesController.cs to use var Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com> --------- Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>