fix content type
This commit is contained in:
parent
46c18de299
commit
bdcd5493d9
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ namespace BirdsiteLive.Controllers
|
|||
{
|
||||
var apUser = _userService.GetUser(user);
|
||||
var jsonApUser = JsonConvert.SerializeObject(apUser);
|
||||
return Content(jsonApUser, "application/json");
|
||||
return Content(jsonApUser, "application/activity+json; charset=utf-8");
|
||||
}
|
||||
|
||||
return View(user);
|
||||
|
@ -64,7 +64,7 @@ namespace BirdsiteLive.Controllers
|
|||
|
||||
var status = _userService.GetStatus(user, tweet);
|
||||
var jsonApUser = JsonConvert.SerializeObject(status);
|
||||
return Content(jsonApUser, "application/json");
|
||||
return Content(jsonApUser, "application/activity+json; charset=utf-8");
|
||||
}
|
||||
|
||||
return View("Tweet", statusId);
|
||||
|
|
Reference in a new issue