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

@@ -18,6 +18,13 @@ export class ChannelsService {
});
}
listAll() {
return this.channelRepo.find({
order: { createdAt: 'ASC' },
take: 200,
});
}
create(input: Partial<Channel>) {
const channel = this.channelRepo.create({
guildId: String(input.guildId ?? ''),