diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-05-21 00:57:02 -0700 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-05-21 00:57:02 -0700 |
commit | 1c8ce46697cfa838550378d52f2528c97a44a4b3 (patch) | |
tree | 4dda0a9d80cc30130ee0321751851ff20258d97d /lib/aggiedit/rooms/post.ex | |
parent | 893af13e3cd54062d51069f40be8269668dd5ec3 (diff) | |
download | aggiedit-1c8ce46697cfa838550378d52f2528c97a44a4b3.tar.gz aggiedit-1c8ce46697cfa838550378d52f2528c97a44a4b3.zip |
Diffstat (limited to 'lib/aggiedit/rooms/post.ex')
-rw-r--r-- | lib/aggiedit/rooms/post.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aggiedit/rooms/post.ex b/lib/aggiedit/rooms/post.ex index e1aa59a..8a14829 100644 --- a/lib/aggiedit/rooms/post.ex +++ b/lib/aggiedit/rooms/post.ex @@ -21,7 +21,7 @@ defmodule Aggiedit.Rooms.Post do def changeset(post, attrs) do post |> cast(attrs, [:title, :body, :score]) - |> validate_required([:title, :body]) + |> validate_required([:title]) end def change_user(post, user) do |