feat(guild): validate bearer tokens via center introspection
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user