Skip to content

Commit 7a0632e

Browse files
committed
fix(discord-bot): license info uses key or real GET-by-id flow
1 parent 3ebe95a commit 7a0632e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/license.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ module.exports = {
153153
return;
154154
}
155155

156-
// Get detailed license information
157-
const licenseInfo = await licenseClient.getLicense(validation.licenseId || 'unknown');
156+
// Get detailed license information by key (avoid fallback unknown identifier)
157+
const licenseInfo = await licenseClient.getLicense(licenseKey);
158158

159159
const embed = new EmbedBuilder()
160160
.setColor('#0099ff')

0 commit comments

Comments
 (0)