device type should be int

This commit is contained in:
Kyle Spearrin 2019-09-04 21:08:08 -04:00
parent b59433debd
commit b35a3339cb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ namespace Bit.Core.Services
_tokenService = tokenService;
_platformUtilsService = platformUtilsService;
_logoutCallbackAsync = logoutCallbackAsync;
var device = _platformUtilsService.GetDevice();
var device = (int)_platformUtilsService.GetDevice();
_httpClient.DefaultRequestHeaders.Add("Device-Type", device.ToString());
if(!string.IsNullOrWhiteSpace(customUserAgent))
{