Commit a6bb4005 authored by Cool Fire's avatar Cool Fire

All objects are singular

parent 839f8440
Pipeline #1399 passed with stage
in 2 minutes and 33 seconds
......@@ -33,7 +33,7 @@ Create a new vhost
- Allows optional parameter to be set: `strongtls`
- Allows optional parameter to be set: `documentroot`
### Function: `POST /v1/i2am/tunnels/list`:
### Function: `POST /v1/i2am/tunnel/list`:
List configured tunnels
- Requires API key in `key` parameter to access
......
......@@ -3,7 +3,7 @@
# Functions for i2am project
class Manager2Api < Sinatra::Base
# List configured tunnels
post '/v1/i2am/tunnels/list' do
post '/v1/i2am/tunnel/list' do
check_key(params)
result = git_get_full['profile::sshtunnel::destination::tunnels']
erb :result, locals: { message: 'Retreived configured tunnels', result: result }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment