Commit 903ac393db4059772f5d6c2047f7431cc6681b4c
1 parent
5d92784c
ap testing
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/library/App/Controllers/AllPositionController.php
... | ... | @@ -10,9 +10,9 @@ namespace App\Controllers; |
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | +use allpositions\api\Client; | |
13 | 14 | use Phalcon\Exception; |
14 | 15 | use PhalconRest\Mvc\Controllers\CrudResourceController; |
15 | -use xf3\AllPositions; | |
16 | 16 | |
17 | 17 | class AllPositionController extends CrudResourceController |
18 | 18 | { |
... | ... | @@ -22,9 +22,9 @@ class AllPositionController extends CrudResourceController |
22 | 22 | |
23 | 23 | try |
24 | 24 | { |
25 | - $APObj = new AllPositions('150bb253651622507341cd7845f5b9d2'); | |
25 | + $APObj = new Client('150bb253651622507341cd7845f5b9d2'); | |
26 | 26 | |
27 | - $project_info = $APObj->get_project(418068); | |
27 | + $project_info = $APObj->getProject(418068); | |
28 | 28 | } |
29 | 29 | catch (Exception $e) |
30 | 30 | { | ... | ... |