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:
parent
2b39b36e49
commit
009817c9ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user