From 3cd6c8ee82dbbd1358e75ee24e255a2f50b2d117 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 2 Mar 2020 16:08:58 -0500 Subject: [PATCH] Fix cost/code field #608 --- app/Http/Resources/Fare.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Resources/Fare.php b/app/Http/Resources/Fare.php index d3e62bbf..77e67d6e 100644 --- a/app/Http/Resources/Fare.php +++ b/app/Http/Resources/Fare.php @@ -12,7 +12,7 @@ class Fare extends Resource 'code' => $this->code, 'name' => $this->name, 'price' => $this->price, - 'cost' => $this->code, + 'cost' => $this->cost, 'capacity' => $this->capacity, 'notes' => $this->notes, 'active' => $this->active,