mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
⚠️💥
This commit is contained in:
parent
065e7e02c9
commit
96a278c88b
@ -21,7 +21,7 @@ defmodule Chess.Store.Game do
|
||||
|> validate_required([:board])
|
||||
end
|
||||
|
||||
def changeset(struct, params \\ %{}) do
|
||||
def changeset(struct, params) do
|
||||
struct
|
||||
|> cast(params, [:board])
|
||||
|> validate_required([:board])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user