Skip to content

Commit

Permalink
fix(admin): load guild roles properly (#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc authored Nov 7, 2023
1 parent a9d989e commit a37d8d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class DiscordGuildEditComponent implements OnInit {

loadRoles() {
this.discordService
.fetchTextChannels(this.guildControl.get('id').value)
.fetchRoles(this.guildControl.get('id').value)
.pipe(map(roles => roles.sort((a, b) => a.name.localeCompare(b.name))))
.subscribe(roles => this.roles.next(roles));
}
Expand Down

0 comments on commit a37d8d2

Please sign in to comment.