Correct docstring for AnnouncementController.show

This commit is contained in:
Tusooa Zhu 2022-03-08 17:00:49 -05:00
parent 2b39b36e49
commit 009817c9ee
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -60,7 +60,7 @@ def mark_read(%{assigns: %{user: user}} = conn, %{id: id} = _params) do
end end
end end
@doc "POST /api/v1/announcements/:id" @doc "GET /api/v1/announcements/:id"
def show(%{assigns: %{user: user}} = conn, %{id: id} = _params) do def show(%{assigns: %{user: user}} = conn, %{id: id} = _params) do
render_announcement_by_id(conn, id, user) render_announcement_by_id(conn, id, user)
end end