From: Egor Kislitsyn Date: Mon, 29 Jun 2020 13:33:00 +0000 (+0400) Subject: Fix CastAndValidate plug X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=979f02ec947443835f480d13bd1dbcf521743a71;p=akkoma Fix CastAndValidate plug --- diff --git a/lib/pleroma/web/api_spec/cast_and_validate.ex b/lib/pleroma/web/api_spec/cast_and_validate.ex index bd9026237..fbfc27d6f 100644 --- a/lib/pleroma/web/api_spec/cast_and_validate.ex +++ b/lib/pleroma/web/api_spec/cast_and_validate.ex @@ -40,7 +40,7 @@ defmodule Pleroma.Web.ApiSpec.CastAndValidate do |> List.first() _ -> - nil + "application/json" end private_data = Map.put(private_data, :operation_id, operation_id)