Skip to content

Commit beb3d8e

Browse files
authored
fix(GuildChannelManager): Access resolveId correctly (v13) (#8297)
1 parent 8fe166d commit beb3d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/managers/GuildChannelManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ class GuildChannelManager extends CachedManager {
403403
id: this.client.channels.resolveId(r.channel),
404404
position: r.position,
405405
lock_permissions: r.lockPermissions,
406-
parent_id: typeof r.parent !== 'undefined' ? this.channels.resolveId(r.parent) : undefined,
406+
parent_id: typeof r.parent !== 'undefined' ? this.resolveId(r.parent) : undefined,
407407
}));
408408

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

0 commit comments

Comments
 (0)