From 54c2bab25f965e2e3fa8d118bf5135c335eca2c0 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Tue, 7 May 2024 22:27:18 -0400 Subject: [PATCH] Fix module struct matching --- lib/pleroma/web/rich_media/card.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/rich_media/card.ex b/lib/pleroma/web/rich_media/card.ex index 2d36f2b62..36a1ae44a 100644 --- a/lib/pleroma/web/rich_media/card.ex +++ b/lib/pleroma/web/rich_media/card.ex @@ -47,7 +47,7 @@ defmodule Pleroma.Web.RichMedia.Card do @cachex.del(:rich_media_cache, url_hash) case get_by_url(url) do - %__MODULE{} = card -> Repo.delete(card) + %__MODULE__{} = card -> Repo.delete(card) nil -> :ok end end