mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-20 16:32:27 +00:00
Remove unused pattern
This commit is contained in:
parent
4e8ab0deeb
commit
0681a26dbb
|
@ -193,15 +193,14 @@ defmodule Pleroma.Instances.Instance do
|
|||
|
||||
Logger.info("Creating metadata for #{host}")
|
||||
|
||||
{:ok, instance} =
|
||||
%Instance{}
|
||||
|> changeset(%{
|
||||
host: host,
|
||||
favicon: favicon,
|
||||
nodeinfo: nodeinfo,
|
||||
metadata_updated_at: NaiveDateTime.utc_now()
|
||||
})
|
||||
|> Repo.insert()
|
||||
%Instance{}
|
||||
|> changeset(%{
|
||||
host: host,
|
||||
favicon: favicon,
|
||||
nodeinfo: nodeinfo,
|
||||
metadata_updated_at: NaiveDateTime.utc_now()
|
||||
})
|
||||
|> Repo.insert()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue