lil fix + add flush queue feat
This commit is contained in:
@@ -34,4 +34,8 @@ export class VideoProcessingService {
|
||||
downloadFile(filePath: string): Observable<Blob> {
|
||||
return this.http.get(`${this.apiUrl}/download/${filePath}`, { responseType: 'blob' });
|
||||
}
|
||||
|
||||
flushQueue(): Observable<any> {
|
||||
return this.http.delete<any>(`${this.apiUrl}/jobs/completed`, {});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user