mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 09:52:13 +00:00
Fix module struct matching
This commit is contained in:
parent
1e86da43f5
commit
a801dd7b07
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue