this.form.reset()
}
- async banUser () {
- const moderationComment: string = this.form.value[ 'moderationComment' ]
+ banUser () {
+ const moderationComment: string = this.form.value['moderationComment']
this.abuseService.updateAbuse(this.abuseToComment, { moderationComment })
.subscribe({