Skip to content

Commit

Permalink
#2 fix the table name and models name
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 15, 2024
1 parent af89c86 commit 79626b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Config/CheckoutCod.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
*
* The version of the package
*/
'version' => '1.0.8',
'version' => '1.1.1',
/**
*
* The version number of the package
*/
'versionNum' => '108',
'versionNum' => '111',

/**
*
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/Api/V1/OrdersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public function create(Request $request) {
$this->orderRepository->update(['status' => 'processing'], $order->id);

// add the ip address and ip country to order
$order_cod = new \NexaMerchant\CheckoutCod\Models\OrderCod();
$order_cod = new \NexaMerchant\CheckoutCod\Models\OrderCods();
$order_cod->order_id = $order->id;
$order_cod->ip_address = $request->ip();
$order_cod->ip_country = $ip_country;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Konekt\Concord\Proxies\ModelProxy;

class OrderCodProxy extends ModelProxy
class OrderCodsProxy extends ModelProxy
{

}

0 comments on commit 79626b9

Please sign in to comment.