1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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