diff --git a/src/api/url.php b/src/api/url.php index 3938583a..50ce7856 100644 --- a/src/api/url.php +++ b/src/api/url.php @@ -21,8 +21,8 @@ switch ($_SERVER['REQUEST_METHOD']) { $url = new URL(base64_decode($_GET['url'])); $response['data'] = array( - 'url' => $url->getPretty(), - 'isPretty' => $url->isPretty(), + 'url' => $url->getPretty(), + 'wasPretty' => $url->isPretty(), ); } break;