Fix CastAndValidate plug

This commit is contained in:
Egor Kislitsyn 2020-06-29 17:33:00 +04:00
parent 07ff2d62f4
commit 979f02ec94
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -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)