From d9943b201d98a2396d62b9a190659e2e776da019 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Wed, 20 Apr 2022 17:23:27 -0600 Subject: UI updates and fix message directioning --- lib/aggiedit/rooms/comment.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/aggiedit/rooms') diff --git a/lib/aggiedit/rooms/comment.ex b/lib/aggiedit/rooms/comment.ex index 01f411a..2dfa98e 100644 --- a/lib/aggiedit/rooms/comment.ex +++ b/lib/aggiedit/rooms/comment.ex @@ -19,6 +19,6 @@ defmodule Aggiedit.Post.Comment do end def serialize(c) do - %{"body" => c.comment, "user" => c.user.username, "id" => c.id, "inserted_at" => c.inserted_at} + %{"body" => c.comment, "user" => c.user.username, "user_id" => c.user_id, "id" => c.id, "inserted_at" => c.inserted_at} end end -- cgit v1.2.3-70-g09d2