diff --git a/lib/nostrum/api/helpers.ex b/lib/nostrum/api/helpers.ex index 08dd4ec1d..d73d1cd66 100644 --- a/lib/nostrum/api/helpers.ex +++ b/lib/nostrum/api/helpers.ex @@ -24,7 +24,7 @@ defmodule Nostrum.Api.Helpers do end @spec maybe_add_reason(String.t() | nil, list()) :: list() - def maybe_add_reason(reason, headers \\ []) + def maybe_add_reason(reason, headers \\ [{"content-type", "application/json"}]) def maybe_add_reason(nil, headers), do: headers def maybe_add_reason(reason, headers) do