1
0
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:
Matt Gibson 2021-04-12 09:45:06 -05:00 committed by GitHub
parent cbd86a83c5
commit 62cc43fb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}