diff options
author | Joas Schilling <coding@schilljs.com> | 2018-04-09 23:10:34 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-04-19 17:40:25 +0300 |
commit | 444500ffba8706253f2740af836ef7cef9cbfd6b (patch) | |
tree | 6792d09a42ecfd4759f56bb396f50d67c33b4025 /appinfo | |
parent | bb00894d696e73a24866f0cf468b39f5734b89a1 (diff) |
Make sure the token is not a reserved word
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index de97b6061..f93bbb1a2 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -51,7 +51,7 @@ return [ ], [ 'name' => 'Signaling#signaling', - 'url' => '/api/{apiVersion}/signaling/{token}/messages', + 'url' => '/api/{apiVersion}/signaling/{token}', 'verb' => 'POST', 'requirements' => [ 'apiVersion' => 'v1', @@ -60,7 +60,7 @@ return [ ], [ 'name' => 'Signaling#pullMessages', - 'url' => '/api/{apiVersion}/signaling/{token}/messages', + 'url' => '/api/{apiVersion}/signaling/{token}', 'verb' => 'GET', 'requirements' => [ 'apiVersion' => 'v1', |