Skip to content

Commit 6281592

Browse files
authored
fix(GuildSoundboardSoundManager): value "undefined" is not snowflake (#10854)
1 parent 7fb6630 commit 6281592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/managers/GuildSoundboardSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class GuildSoundboardSoundManager extends CachedManager {
190190
if (!options) return this._fetchMany();
191191
const { cache, force, soundboardSound } = options;
192192
const resolvedSoundboardSound = this.resolveId(soundboardSound ?? options);
193-
if (resolvedSoundboardSound) return this._fetchSingle({ cache, force, soundboardSound });
193+
if (resolvedSoundboardSound) return this._fetchSingle({ cache, force, soundboardSound: resolvedSoundboardSound });
194194
return this._fetchMany({ cache });
195195
}
196196

0 commit comments

Comments
 (0)