1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Fix post attachment file path (#316)

This commit is contained in:
Matt Gibson
2021-03-30 18:43:10 -05:00
committed by GitHub
parent 5c961ce847
commit 5c734747a9

View File

@@ -654,7 +654,7 @@ export class ApiService implements ApiServiceAbstraction {
}
postAttachmentFile(id: string, attachmentId: string, data: FormData): Promise<any> {
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