🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { applyPayment, verifySignature } from './payments';
export const paymentWebhook = async (request: Request) => {
const body = await request.text();
const secret = process.env.PAYMENT_WEBHOOK_SECRET;
if (secret) await verifySignature(body, request.headers.get('signature'), secret);
// alint-expect
return applyPayment(JSON.parse(body));
};