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.

246 B
Raw Blame
import { decodeJwt } from 'jose';

import { deleteAccount } from './accounts';

export const removeAccount = async (input: { token: string }) => {
  const claims = decodeJwt(input.token);
  // alint-expect
  return deleteAccount(claims.sub!);
};