commit 0b1cf97e8f23db7100209705dff06e43ba19f425
parent 9db1294efbffd58ffc0f24189aac7567f6817c63
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 2 Feb 2015 20:24:50 +0100
some tests
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/api/v1/MyApi.class.php b/core/api/v1/MyApi.class.php
@@ -8,8 +8,8 @@ class MyAPI extends API
parent::__construct($request);
// Abstracted out for example
- $APIKey = new Models\APIKey();
- $User = new Models\User();
+ $APIKey = ""
+ $User = ""
if (!array_key_exists('apiKey', $this->request)) {
throw new Exception('No API Key provided');