diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-13 17:27:34 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-07-13 17:32:49 +0300 |
commit | 1add86b280ce01b94121cb12c0c45d85db2564a9 (patch) | |
tree | dbe990ac6f500a41b5ff07f0ca675e7745c73784 /appinfo/routes.php | |
parent | 62b11f9a9f061a164b085e05aaf5ab98f212c057 (diff) |
Handle the favorite on the participant object and fix favorite spelling
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 242cabb32..516ae6df5 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -290,8 +290,8 @@ return [ ], ], [ - 'name' => 'Room#setRoomAsFavourite', - 'url' => '/api/{apiVersion}/room/{token}/favourite', + 'name' => 'Room#addToFavorites', + 'url' => '/api/{apiVersion}/room/{token}/favorite', 'verb' => 'POST', 'requirements' => [ 'apiVersion' => 'v1', @@ -299,8 +299,8 @@ return [ ], ], [ - 'name' => 'Room#setRoomAsNotFavourite', - 'url' => '/api/{apiVersion}/room/{token}/favourite', + 'name' => 'Room#removeFromFavorites', + 'url' => '/api/{apiVersion}/room/{token}/favorite', 'verb' => 'DELETE', 'requirements' => [ 'apiVersion' => 'v1', |