ActivityPub: restrict_since/restrict_max: ignore empty param
[akkoma] / lib / pleroma / web / views / error_view.ex
index 6c589d3a158790e7f693bb19aa3aa84832d57242..86a1744b77254f7ea15ad62e8009dbb0580decb3 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Web.ErrorView do
   use Pleroma.Web, :view
 
@@ -12,6 +16,6 @@ defmodule Pleroma.Web.ErrorView do
   # In case no render clause matches or no
   # template is found, let's render it as 500
   def template_not_found(_template, assigns) do
-    render "500.json", assigns
+    render("500.json", assigns)
   end
 end