mirror of
https://github.com/bitwarden/android.git
synced 2025-03-14 02:08:48 +03:00
Move renew endpoint to fix overlapping endpoint issue (#1362)
This commit is contained in:
parent
a2cff6da28
commit
75e27ffbe3
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ namespace Bit.Core.Services
|
|||
}
|
||||
|
||||
public Task<AttachmentUploadDataResponse> RenewAttachmentUploadUrlAsync(string cipherId, string attachmentId) =>
|
||||
SendAsync<AttachmentUploadDataResponse>(HttpMethod.Get, $"/ciphers/{cipherId}/attachment/{attachmentId}", true);
|
||||
SendAsync<AttachmentUploadDataResponse>(HttpMethod.Get, $"/ciphers/{cipherId}/attachment/{attachmentId}/renew", true);
|
||||
|
||||
public Task PostAttachmentFileAsync(string cipherId, string attachmentId, MultipartFormDataContent data) =>
|
||||
SendAsync(HttpMethod.Post,
|
||||
|
|
Loading…
Add table
Reference in a new issue