feat: publish complete
This commit is contained in:
@@ -59,7 +59,7 @@ func (d *StoreMedias) RunE(targetPath string) error {
|
||||
return errors.Wrap(err, "uuid from bytes")
|
||||
}
|
||||
|
||||
if err := d.mediasSvc.PublishTenantMedia(context.Background(), 1, u, item.Name); err != nil {
|
||||
if err := d.mediasSvc.PublishTenantMedia(context.Background(), 1, u, item.Name, item.Price); err != nil {
|
||||
return errors.Wrapf(err, "PublishTenant: %+v", item)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user