1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00: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

View File

@@ -444,7 +444,7 @@ export class ApiService implements ApiServiceAbstraction {
} }
async renewFileUploadUrl(sendId: string, fileId: string): Promise<SendFileUploadDataResponse> { 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); return new SendFileUploadDataResponse(r);
} }