summaryrefslogtreecommitdiff
path: root/static/classes
diff options
context:
space:
mode:
Diffstat (limited to 'static/classes')
-rwxr-xr-xstatic/classes/Response.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index fe25664..02b92db 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -34,9 +34,6 @@ class Response
header('Content-Type: text/csv; charset=UTF-8');
$this->type = $response_type;
break;
- case 'gyazo':
- // Deprecated API since version 2.0.0
- // fallthrough
case 'html':
header('Content-Type: text/html; charset=UTF-8');
$this->type = $response_type;
@@ -45,6 +42,9 @@ class Response
header('Content-Type: application/json; charset=UTF-8');
$this->type = $response_type;
break;
+ case 'gyazo':
+ // Deprecated API since version 2.0.0
+ // fallthrough
case 'text':
header('Content-Type: text/plain; charset=UTF-8');
$this->type = $response_type;