Fixes for metadata column in Transaction Log

This commit is contained in:
David Bomba 2022-03-14 07:52:51 +11:00
parent 49f889eadc
commit f4f11575ed
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class BaseTransaction implements TransactionInterface
$data['payment'], $data['payment'],
$data['client'], $data['client'],
$data['credit'], $data['credit'],
$data['metadata'], ['metadata' => $data['metadata']],
['event_id' => $this->event_id, 'timestamp' =>time()], ['event_id' => $this->event_id, 'timestamp' =>time()],
); );
// return [ // return [

View File

@ -86,8 +86,8 @@ class TransactionLog implements ShouldQueue
*/ */
public function handle() public function handle()
{ {
if(!Ninja::isHosted()) // if(!Ninja::isHosted())
return; // return;
$this->setTransformer(); $this->setTransformer();