fix route for device token PUT

This commit is contained in:
Kyle Spearrin 2019-05-28 16:20:24 -04:00
parent d66646d168
commit 630fc3f73c

View file

@ -286,7 +286,7 @@ namespace Bit.Core.Services
public Task PutDeviceTokenAsync(string identifier, DeviceTokenRequest request)
{
return SendAsync<DeviceTokenRequest, object>(
HttpMethod.Post, $"identifier/{identifier}/token", request, true, false);
HttpMethod.Put, $"/devices/identifier/{identifier}/token", request, true, false);
}
#endregion