Skip to content

Commit

Permalink
fixup! Add profile Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
rullzer committed Sep 24, 2020
1 parent 65de9db commit 27df0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions appinfo/routes.php
Expand Up @@ -25,6 +25,7 @@
return [
'routes' => [
['name' => 'Profile#addProfile', 'url' => '/api/v1/profile', 'verb' => 'PUT'],
['name' => 'Profile#removeProfile', 'url' => '/api/v1/profile/{id}', 'verb' => 'DELETE'],
],
'ocs' => [
['name' => 'Trigger#receive', 'url' => '/api/v1/hook/{urlId}', 'verb' => 'POST'],
Expand Down
2 changes: 2 additions & 0 deletions lib/Controller/ProfileController.php
Expand Up @@ -79,4 +79,6 @@ public function removeProfile(int $id): JSONResponse {

return new JSONResponse([]);
}


}

0 comments on commit 27df0fb

Please sign in to comment.