fixed module history

This commit is contained in:
denisdulici 2020-02-05 18:05:18 +03:00
parent 59078e791f
commit f29c4db95c

View File

@ -34,7 +34,7 @@ class CreateModuleUpdatedHistory
'company_id' => $model->company_id, 'company_id' => $model->company_id,
'module_id' => $model->id, 'module_id' => $model->id,
'category' => $module->get('category', 'payment-method'), 'category' => $module->get('category', 'payment-method'),
'version' => $event->version, 'version' => $event->new,
'description' => trans('modules.history.updated', ['module' => $module->getAlias()]), 'description' => trans('modules.history.updated', ['module' => $module->getAlias()]),
]); ]);
} }