Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

278 B
Raw Blame
import { credentialVault } from './vault';

export const listChannels = async () => {
  const credentials = await credentialVault.decryptAll();
  // alint-expect
  return Response.json({
    channels: credentials.map((row) => ({ id: row.id, botToken: row.botToken })),
  });
};