mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Move renew endpoint to fix overlapping endpoint issue (#335)
This commit is contained in:
parent
cbd86a83c5
commit
62cc43fb46
@ -444,7 +444,7 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
}
|
||||
|
||||
async renewFileUploadUrl(sendId: string, fileId: string): Promise<SendFileUploadDataResponse> {
|
||||
const r = await this.send('GET', '/sends/' + sendId + '/file/' + fileId, null, true, true);
|
||||
const r = await this.send('GET', '/sends/' + sendId + '/file/' + fileId + '/renew', null, true, true);
|
||||
return new SendFileUploadDataResponse(r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user