mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
fix route for device token PUT
This commit is contained in:
parent
d66646d168
commit
630fc3f73c
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ namespace Bit.Core.Services
|
||||||
public Task PutDeviceTokenAsync(string identifier, DeviceTokenRequest request)
|
public Task PutDeviceTokenAsync(string identifier, DeviceTokenRequest request)
|
||||||
{
|
{
|
||||||
return SendAsync<DeviceTokenRequest, object>(
|
return SendAsync<DeviceTokenRequest, object>(
|
||||||
HttpMethod.Post, $"identifier/{identifier}/token", request, true, false);
|
HttpMethod.Put, $"/devices/identifier/{identifier}/token", request, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue