fixes generated image download
This commit is contained in:
1 parent
57198cd671
commit
a4093e86b1
6 files changed
+101
-30
No files matched your search
@@ -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`,
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user