diff options
Diffstat (limited to 'routers/api/packages/container')
-rw-r--r-- | routers/api/packages/container/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/packages/container/container.go b/routers/api/packages/container/container.go index f0b1fafd26..08b6b421b0 100644 --- a/routers/api/packages/container/container.go +++ b/routers/api/packages/container/container.go @@ -367,7 +367,7 @@ func GetBlob(ctx *context.Context) { return } - s, err := packages_module.NewContentStore().Get(packages_module.BlobHash256Key(blob.Blob.HashSHA256)) + s, _, err := packages_service.GetPackageFileStream(ctx, blob.File) if err != nil { apiError(ctx, http.StatusInternalServerError, err) return @@ -506,7 +506,7 @@ func GetManifest(ctx *context.Context) { return } - s, err := packages_module.NewContentStore().Get(packages_module.BlobHash256Key(manifest.Blob.HashSHA256)) + s, _, err := packages_service.GetPackageFileStream(ctx, manifest.File) if err != nil { apiError(ctx, http.StatusInternalServerError, err) return |