forked from AkkomaGang/akkoma
Remove unused pattern
This commit is contained in:
parent
4e8ab0deeb
commit
0681a26dbb
1 changed files with 8 additions and 9 deletions
|
@ -193,15 +193,14 @@ defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
||||||
|
|
||||||
Logger.info("Creating metadata for #{host}")
|
Logger.info("Creating metadata for #{host}")
|
||||||
|
|
||||||
{:ok, instance} =
|
%Instance{}
|
||||||
%Instance{}
|
|> changeset(%{
|
||||||
|> changeset(%{
|
host: host,
|
||||||
host: host,
|
favicon: favicon,
|
||||||
favicon: favicon,
|
nodeinfo: nodeinfo,
|
||||||
nodeinfo: nodeinfo,
|
metadata_updated_at: NaiveDateTime.utc_now()
|
||||||
metadata_updated_at: NaiveDateTime.utc_now()
|
})
|
||||||
})
|
|> Repo.insert()
|
||||||
|> Repo.insert()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue