feat(media-supply): integrate object storage for media supply service and enhance image upload handling
Backend CI / Backend (push) Successful in 16m49s
Backend CI / Backend (push) Successful in 16m49s
This commit is contained in:
@@ -19,7 +19,7 @@ type MediaSupplyHandler struct {
|
||||
func NewMediaSupplyHandler(a *bootstrap.App) *MediaSupplyHandler {
|
||||
svc := a.MediaSupplyService
|
||||
if svc == nil {
|
||||
svc = app.NewMediaSupplyService(a.DB, a.Redis, a.Logger, a.ConfigStore)
|
||||
svc = app.NewMediaSupplyService(a.DB, a.Redis, a.Logger, a.ConfigStore).WithObjectStorage(a.ObjectStorage)
|
||||
}
|
||||
return &MediaSupplyHandler{
|
||||
svc: svc,
|
||||
|
||||
Reference in New Issue
Block a user