fixes generated image download

This commit is contained in:
kfj001 committed 2026-07-08 23:18:07 -07:00
1 parent 57198cd671
commit a4093e86b1
6 files changed
+101 -30

No files matched your search

+4 -4
View File
@@ -81,10 +81,10 @@ export class MobileBuildService {
);
}
downloadArtifact(artifactId: number): Observable<Blob> {
return this.http.get(
`${this.baseUrl}/artifacts/${artifactId}/download`,
{ responseType: 'blob' },
getDownloadUrl(artifactId: number): Observable<{ download_url: string }> {
return this.http.get<{ download_url: string }>(
`${this.baseUrl}/artifacts/${artifactId}/download-url`,
);
}
}