diff options
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 72f83ed6c..72d532cde 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -74,9 +74,12 @@ return [ ], [ 'name' => 'Call#leaveCall', - 'url' => '/api/{apiVersion}/call', + 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'DELETE', - 'requirements' => ['apiVersion' => 'v1'], + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], ], [ |