]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineretweetedtome.php
replace 'public' in documentation with 'top'
[quix0rs-gnu-social.git] / actions / apitimelineretweetedtome.php
index ef943f4f88fc78c9f943338b07e2bc607d1afc8f..2ea84f16e3f839d6477a3eb125d8330131ca2662 100644 (file)
@@ -138,7 +138,7 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction
 
             break;
         case 'as':
-            header('Content-Type: application/json; charset=utf-8');
+            header('Content-Type: ' . ActivityStreamJSONDocument::CONTENT_TYPE);
             $doc = new ActivityStreamJSONDocument($this->auth_user);
             $doc->setTitle($title);
             $doc->addLink($link, 'alternate', 'text/html');