From 1c1d002a5ef74e4494e777aa64ad4068a234ccd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Tue, 25 Jun 2024 14:57:55 +0200 Subject: [PATCH] Fix Elixir 1.17 warning about function call without parens (#664) --- lib/bamboo/mailer.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bamboo/mailer.ex b/lib/bamboo/mailer.ex index 30b00400..ea879e31 100644 --- a/lib/bamboo/mailer.ex +++ b/lib/bamboo/mailer.ex @@ -304,7 +304,7 @@ defmodule Bamboo.Mailer do defp validate_attachment_support(_email, adapter) do if Code.ensure_loaded?(adapter) && function_exported?(adapter, :supports_attachments?, 0) && - adapter.supports_attachments? do + adapter.supports_attachments?() do :ok else {:error, "the #{adapter} does not support attachments yet."}