mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 15:23:35 +00:00
Update revision date from server on restore (#1211)
This commit is contained in:
@@ -262,9 +262,9 @@ namespace Bit.Core.Services
|
||||
return SendAsync<object, object>(HttpMethod.Put, string.Concat("/ciphers/", id, "/delete"), null, true, false);
|
||||
}
|
||||
|
||||
public Task PutRestoreCipherAsync(string id)
|
||||
public Task<CipherResponse> PutRestoreCipherAsync(string id)
|
||||
{
|
||||
return SendAsync<object, object>(HttpMethod.Put, string.Concat("/ciphers/", id, "/restore"), null, true, false);
|
||||
return SendAsync<object, CipherResponse>(HttpMethod.Put, string.Concat("/ciphers/", id, "/restore"), null, true, true);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user