lil fix + add flush queue feat
All checks were successful
ci / Image build (push) Successful in 2m14s
ci / Deployment (push) Successful in 6s

This commit is contained in:
Joris Bertomeu
2025-08-25 14:34:33 +02:00
parent 2c051cef25
commit 3ee069c876
4 changed files with 19 additions and 32 deletions

View File

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