From 75e27ffbe3423ad590b32226001aa8d74b5e62d5 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Mon, 12 Apr 2021 09:45:17 -0500 Subject: [PATCH] Move renew endpoint to fix overlapping endpoint issue (#1362) --- src/Core/Services/ApiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/ApiService.cs b/src/Core/Services/ApiService.cs index 0d69f5d9d..81434a549 100644 --- a/src/Core/Services/ApiService.cs +++ b/src/Core/Services/ApiService.cs @@ -334,7 +334,7 @@ namespace Bit.Core.Services } public Task RenewAttachmentUploadUrlAsync(string cipherId, string attachmentId) => - SendAsync(HttpMethod.Get, $"/ciphers/{cipherId}/attachment/{attachmentId}", true); + SendAsync(HttpMethod.Get, $"/ciphers/{cipherId}/attachment/{attachmentId}/renew", true); public Task PostAttachmentFileAsync(string cipherId, string attachmentId, MultipartFormDataContent data) => SendAsync(HttpMethod.Post,