Skip to content

Commit

Permalink
minor editing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruner committed Apr 7, 2021
1 parent 1a9ce7a commit bcca754
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Scot.pm
Expand Up @@ -327,15 +327,15 @@ relies on the browser BasicAuth popup.

=pod
@api {put} /scot/api/v2/command/:action Send Queue Command
@api {put} /scot/api/v2/command/:scotaction Send Queue Command
@apiName send command to queue
@apiGroup Queue
@apiVersion 2.0.0
@apiDescription send the the string :command to the scot activemq topic queue
=cut

$scot ->put ('/api/v2/command/:action')
$scot ->put ('/api/v2/command/:scotaction')
->to ('controller-api#do_command')
->name ('do_command');

Expand Down Expand Up @@ -667,7 +667,6 @@ other events.

# delete via params, only supported for links
$scot ->delete ('/api/v2/:thing')
->via ('delete')
->to ('controller-api#delete')
->name ('delete-link');

Expand Down

0 comments on commit bcca754

Please sign in to comment.