diff --git a/build/api/module/RESTexample.php b/build/api/module/RESTexample.php index c73fe1f..ab1626a 100755 --- a/build/api/module/RESTexample.php +++ b/build/api/module/RESTexample.php @@ -93,7 +93,6 @@ class RESTexample{ // UPDATE an article with new content with variables: $URL_0; // id of article to update - $title; // new article's title $content; // new article's content // ... @@ -104,7 +103,7 @@ class RESTexample{ if( !$success ) return ['error' => new Error(Err::ModuleError)]; // or other `Err` constant - return ['article' => "Article number `$URL_0`: $title / $content"]; + return ['article' => "Article number `$URL_0`: sometitle / $content"]; }