mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
device type should be int
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Bit.Core.Services
|
|||||||
_tokenService = tokenService;
|
_tokenService = tokenService;
|
||||||
_platformUtilsService = platformUtilsService;
|
_platformUtilsService = platformUtilsService;
|
||||||
_logoutCallbackAsync = logoutCallbackAsync;
|
_logoutCallbackAsync = logoutCallbackAsync;
|
||||||
var device = _platformUtilsService.GetDevice();
|
var device = (int)_platformUtilsService.GetDevice();
|
||||||
_httpClient.DefaultRequestHeaders.Add("Device-Type", device.ToString());
|
_httpClient.DefaultRequestHeaders.Add("Device-Type", device.ToString());
|
||||||
if(!string.IsNullOrWhiteSpace(customUserAgent))
|
if(!string.IsNullOrWhiteSpace(customUserAgent))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user