diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-16 20:46:33 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-26 09:46:46 +0100 |
commit | 18e6072a300dc5ffa8eb8667859052c8a6213bf9 (patch) | |
tree | b5fba733ce46c5bdc7908fcbc44e2bae81311836 /appinfo/routes.php | |
parent | 8e031296b9ee64e7e4188331bf3c83fe53bedef0 (diff) |
Refresh the peer list and take the display name from there
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index a97fc9fb1..130359c62 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -109,7 +109,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v1', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -118,7 +118,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v1', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -127,7 +127,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v1', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], |