X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fviews%2Ferror_view.ex;h=86a1744b77254f7ea15ad62e8009dbb0580decb3;hb=b050d27c2d667d3c61e2c5716d26971f24b4bc5c;hp=6c589d3a158790e7f693bb19aa3aa84832d57242;hpb=a93f3421a704d6728a856d5d82cdbf9c43f3f897;p=akkoma diff --git a/lib/pleroma/web/views/error_view.ex b/lib/pleroma/web/views/error_view.ex index 6c589d3a1..86a1744b7 100644 --- a/lib/pleroma/web/views/error_view.ex +++ b/lib/pleroma/web/views/error_view.ex @@ -1,3 +1,7 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2019 Pleroma Authors +# 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