From 5c734747a96e3cef62ff5153d8da116559395869 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 30 Mar 2021 18:43:10 -0500 Subject: [PATCH] Fix post attachment file path (#316) --- src/services/api.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api.service.ts b/src/services/api.service.ts index 86173bbfae..f6a9da0b73 100644 --- a/src/services/api.service.ts +++ b/src/services/api.service.ts @@ -654,7 +654,7 @@ export class ApiService implements ApiServiceAbstraction { } postAttachmentFile(id: string, attachmentId: string, data: FormData): Promise { - return this.send('POST', '/ciphers/' + id + '/attachment/' + attachmentId + '/renew', data, true, false); + return this.send('POST', '/ciphers/' + id + '/attachment/' + attachmentId, data, true, false); } // Collections APIs