Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 055f061b authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Fix field error

parent e0b8117f
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ defmodule Diskuy.Forum.Thread do
case changeset do
%Ecto.Changeset{valid?: true, changes: %{title: title}}
->
put_change(changeset, :name, Utility.capitalize_string(title))
put_change(changeset, :title, Utility.capitalize_string(title))
_ ->
changeset
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment