Skip to content

Commit

Permalink
minor bugs removed from two examples
Browse files Browse the repository at this point in the history
  • Loading branch information
malle-pietje committed Feb 1, 2018
1 parent 77972aa commit 14f4d58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/create_site.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
$results = $unifi_connection->create_site($description);

/**
* provide feedback (the newly created vouchers) in json format
* provide feedback in json format
*/
echo json_encode($vouchers, JSON_PRETTY_PRINT);
echo json_encode($results, JSON_PRETTY_PRINT);
6 changes: 3 additions & 3 deletions examples/delete_site.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


/**
* the site to delete, may not be the same site as referenced by $site_id
* the site to delete, must not be the same site as referenced by $site_id
*/
$site_to_delete = '<_id value of the site>';

Expand All @@ -36,6 +36,6 @@
$results = $unifi_connection->delete_site($site_to_delete);

/**
* provide feedback (the newly created vouchers) in json format
* provide feedback in json format
*/
echo json_encode($vouchers, JSON_PRETTY_PRINT);
echo json_encode($results, JSON_PRETTY_PRINT);

0 comments on commit 14f4d58

Please sign in to comment.