From 8f3a66a0ca43d9d5e426d2cdfcec52c73b477bc3 Mon Sep 17 00:00:00 2001 From: Gervasio Marchand Date: Wed, 5 Jul 2023 11:37:19 -0300 Subject: [PATCH] Don't need it to be async --- src/FakeRelay.Web/Controllers/AcitivityPubController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FakeRelay.Web/Controllers/AcitivityPubController.cs b/src/FakeRelay.Web/Controllers/AcitivityPubController.cs index 42a8196..750a5eb 100644 --- a/src/FakeRelay.Web/Controllers/AcitivityPubController.cs +++ b/src/FakeRelay.Web/Controllers/AcitivityPubController.cs @@ -8,7 +8,7 @@ public class AcitivityPubController : Controller { [Route("actor")] - public async Task Actor() => + public ActionResult Actor() => Content(MastodonHelper.GetActorStaticContent(), "application/activity+json; charset=utf-8"); [Route("inbox"), HttpPost]