1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

⚠️💥

This commit is contained in:
Daniel Barber 2018-01-19 16:18:00 -05:00
parent 065e7e02c9
commit 96a278c88b
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -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])