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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user