Skip to content

Commit

Permalink
fix(GuildChannelManager): Access resolveId correctly (v13) (#8297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jul 17, 2022
1 parent 8fe166d commit beb3d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/GuildChannelManager.js
Expand Up @@ -403,7 +403,7 @@ class GuildChannelManager extends CachedManager {
id: this.client.channels.resolveId(r.channel),
position: r.position,
lock_permissions: r.lockPermissions,
parent_id: typeof r.parent !== 'undefined' ? this.channels.resolveId(r.parent) : undefined,
parent_id: typeof r.parent !== 'undefined' ? this.resolveId(r.parent) : undefined,
}));

await this.client.api.guilds(this.guild.id).channels.patch({ data: channelPositions });
Expand Down

0 comments on commit beb3d8e

Please sign in to comment.