feat(guild): validate bearer tokens via center introspection

This commit is contained in:
root
2026-05-13 07:59:57 +00:00
parent d9c5175233
commit b27cb0c2e1
6 changed files with 61 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ export class ChannelsController {
@Get()
list(@Query('guildId') guildId?: string) {
if (!guildId) return [];
if (!guildId) return this.channelsService.listAll();
return this.channelsService.listByGuild(guildId);
}