Commit 52aa9fde32ed9adaff6a49998bc8e9af251fe6aa
1 parent
0f21ddc0
test
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/library/App/Resources/UserResource.php
| ... | ... | @@ -43,7 +43,8 @@ class UserResource extends ApiResource { |
| 43 | 43 | ) |
| 44 | 44 | |
| 45 | 45 | ->endpoint(ApiEndpoint::post('/registration', 'registration')) |
| 46 | - ->endpoint(ApiEndpoint::post('/test', 'test')) | |
| 46 | + | |
| 47 | 47 | ; |
| 48 | + $this->endpoint(ApiEndpoint::post('/test', 'test')); | |
| 48 | 49 | } |
| 49 | 50 | } |
| 50 | 51 | \ No newline at end of file | ... | ... |