]> jfr.im git - uguu.git/commitdiff
Update Response.php v.1.6.3
authorGo Johansson <redacted>
Sat, 24 Dec 2022 17:17:04 +0000 (18:17 +0100)
committerGo Johansson <redacted>
Sat, 24 Dec 2022 17:17:04 +0000 (18:17 +0100)
src/Classes/Response.php

index 6e60b69965430fcf1e4446968a92bc206acb9726..678dff66eb532b152ef95800d8fcdedf4e451347 100644 (file)
@@ -55,7 +55,6 @@
                 default:
                     header('Content-Type: application/json; charset=UTF-8');
                     $this->type = 'json';
-                    $this->error(400, 'Invalid response type. Valid options are: csv, html, json, text.');
                     break;
             }
         }