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:
parent
5c961ce847
commit
5c734747a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user