commit: 54c2bab25f965e2e3fa8d118bf5135c335eca2c0
parent 9a83301ff8a3cbc187bb869b01ce6dcab63d93a7
Author: Mark Felder <feld@feld.me>
Date: Tue, 7 May 2024 22:27:18 -0400
Fix module struct matching
Diffstat:
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
@@ -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