fix: remove unused branch in seeds and fixed translations
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dfdf4c980b
commit
f9ff6d3d2d
4 changed files with 197 additions and 146 deletions
|
|
@ -333,12 +333,6 @@ case Membership.get_settings() do
|
|||
{:ok, _updated} =
|
||||
Membership.update_settings(existing_settings, %{club_name: default_club_name})
|
||||
end
|
||||
|
||||
{:ok, nil} ->
|
||||
# Settings don't exist, create them
|
||||
Mv.Membership.Setting
|
||||
|> Ash.Changeset.for_create(:create, %{club_name: default_club_name})
|
||||
|> Ash.create!(domain: Mv.Membership)
|
||||
end
|
||||
|
||||
IO.puts("✅ Seeds completed successfully!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue