fix ChampionPickedSummonerSpell.Repo insert
All checks were successful
ci / docker (push) Successful in 5m20s
All checks were successful
ci / docker (push) Successful in 5m20s
This commit is contained in:
parent
3ef7861f22
commit
2b51aace6e
@ -35,9 +35,9 @@ defmodule LolAnalytics.Facts.ChampionPickedSummonerSpell.Repo do
|
||||
f.summoner_spell_id ==
|
||||
^attrs.summoner_spell_id
|
||||
)
|
||||
|> Repo.one!()
|
||||
|> Repo.one()
|
||||
|
||||
changeset = Schema.changeset(prev, attrs)
|
||||
changeset = Schema.changeset(prev || %Schema{}, attrs)
|
||||
|
||||
IO.inspect(attrs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user