1
0
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:
Matt Gibson
2021-01-08 08:53:45 -06:00
committed by GitHub
parent 3b5cae01e0
commit ca7794e6f2
3 changed files with 5 additions and 4 deletions

View File

@@ -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