1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-06 00:42:56 +01:00

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 @@ defmodule Pleroma.Web.MastodonAPI.AnnouncementController do
end
end
@doc "POST /api/v1/announcements/:id"
@doc "GET /api/v1/announcements/:id"
def show(%{assigns: %{user: user}} = conn, %{id: id} = _params) do
render_announcement_by_id(conn, id, user)
end