X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-moderation%2Fuser-moderation-dropdown.component.ts;h=50dccf862987c28c83960b578162cc6344ec2ef6;hb=cd940f40cb62fa105b14e1ce838e97f316c13c5c;hp=c69a45c2581fc064c54ae613aebc1aac6453dde0;hpb=9436936cf68b6c1225298b0e30c23c40f0d15bda;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts index c69a45c25..50dccf862 100644 --- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts @@ -105,7 +105,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges { const res = await this.confirmService.confirm(message, $localize`Delete ${user.username}`) if (res === false) return - this.userAdminService.removeUser(user) + this.userAdminService.removeUsers(user) .subscribe({ next: () => { this.notifier.success($localize`User ${user.username} deleted.`)