Skip to content

Commit

Permalink
Fix column user_id in AJAX response
Browse files Browse the repository at this point in the history
  • Loading branch information
a3020 committed Jun 27, 2018
1 parent 40e6a82 commit dd18669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ajax/Sales.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private function getRecords()
'package_handle' => $sale->getPkgHandle(),
'package_name' => $sale->getPkgName(),
'username' => $sale->getUsername(),
'user_id' => $sale->getId(),
'user_id' => $sale->getUserId(),
'sold_at' => $sale->getSoldAt()->format('Y-m-d'),
'amount' => $sale->getAmount(),
];
Expand Down

0 comments on commit dd18669

Please sign in to comment.