mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-26 21:51:34 +01:00
Move renew endpoint to fix overlapping endpoint issue (#1362)
This commit is contained in:
parent
a2cff6da28
commit
75e27ffbe3
@ -334,7 +334,7 @@ namespace Bit.Core.Services
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Task<AttachmentUploadDataResponse> RenewAttachmentUploadUrlAsync(string cipherId, string attachmentId) =>
|
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) =>
|
public Task PostAttachmentFileAsync(string cipherId, string attachmentId, MultipartFormDataContent data) =>
|
||||||
SendAsync(HttpMethod.Post,
|
SendAsync(HttpMethod.Post,
|
||||||
|
Loading…
Reference in New Issue
Block a user