diff --git a/changelog.d/5-internal/pr-2850 b/changelog.d/5-internal/pr-2850 new file mode 100644 index 0000000000..91dd2564ff --- /dev/null +++ b/changelog.d/5-internal/pr-2850 @@ -0,0 +1 @@ +Stern API endpoint `GET ejpd-info` has now the correct HTTP method diff --git a/tools/stern/src/Stern/API/Routes.hs b/tools/stern/src/Stern/API/Routes.hs index 2e7d81d34f..5fabd0ffe0 100644 --- a/tools/stern/src/Stern/API/Routes.hs +++ b/tools/stern/src/Stern/API/Routes.hs @@ -222,7 +222,7 @@ type SternAPI = :> "ejpd-info" :> QueryParam' [Optional, Strict, Description "If 'true', this gives you more more exhaustive information about this user (including social network)"] "include_contacts" Bool :> QueryParam' [Required, Strict, Description "Handles of the users, separated by commas (NB: all chars need to be lower case!)"] "handles" [Handle] - :> Delete '[JSON] EJPD.EJPDResponseBody + :> Get '[JSON] EJPD.EJPDResponseBody ) :<|> Named "head-user-blacklist"