diff --git a/src/http.ts b/src/http.ts index 7e1f172..64aa84c 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1832,12 +1832,12 @@ export class LemmyHttp { /** * Globally block an instance as admin. * - * `HTTP.Post /admin/block_instance` + * `HTTP.Post /admin/instance/block` */ adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions) { return this.#wrapper( HttpType.Post, - "/admin/block_instance", + "/admin/instance/block", form, options, ); @@ -1846,12 +1846,12 @@ export class LemmyHttp { /** * Globally allow an instance as admin. * - * `HTTP.Post /admin/allow_instance` + * `HTTP.Post /admin/instance/allow` */ adminAllowInstance(form: AdminAllowInstanceParams, options?: RequestOptions) { return this.#wrapper( HttpType.Post, - "/admin/allow_instance", + "/admin/instance/allow", form, options, );