From dd0d6c50c959a41c6058a67aa9776efe36cee846 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Mon, 3 Sep 2018 07:18:25 +0200 Subject: [PATCH] add provider to rest/discount-status --- rest/controllers/CustomerController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/rest/controllers/CustomerController.php b/rest/controllers/CustomerController.php index c2109eb..fcd21a8 100644 --- a/rest/controllers/CustomerController.php +++ b/rest/controllers/CustomerController.php @@ -81,6 +81,7 @@ class CustomerController extends RestController if (isset($customer)) { $result['card_number'] = $card->number; $result['name'] = $customer->name; + $result['provider'] = \Yii::$app->id; } return $result;