This commit is contained in:
Felix Ableitner 2024-11-29 12:23:11 +01:00
parent f7d521735b
commit 39cf3ef8f5

View file

@ -1832,12 +1832,12 @@ export class LemmyHttp {
/** /**
* Globally block an instance as admin. * Globally block an instance as admin.
* *
* `HTTP.Post /admin/block/instance` * `HTTP.Post /admin/block_instance`
*/ */
adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions) { adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions) {
return this.#wrapper<AdminBlockInstanceParams, SuccessResponse>( return this.#wrapper<AdminBlockInstanceParams, SuccessResponse>(
HttpType.Post, HttpType.Post,
"/admin/block/instance", "/admin/block_instance",
form, form,
options, options,
); );