activitypub: transmogrifier: add necessary translations for kroeg
[akkoma] / lib / pleroma / web / activity_pub / activity_pub_controller.ex
index ee5d319a716b76553fb55dcc8ee0512b3b08cd43..d337532d0ef46417a45f863cf84c552f709b6bb0 100644 (file)
@@ -15,6 +15,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
       conn
       |> put_resp_header("content-type", "application/activity+json")
       |> json(UserView.render("user.json", %{user: user}))
+    else
+      nil -> {:error, :not_found}
     end
   end