Standardize bridge send/receive params

This commit is contained in:
Darren Clarke 2024-07-18 11:08:01 +02:00
parent 69abe9bee1
commit c32c26088f
23 changed files with 7042 additions and 1276 deletions

View file

@ -95,9 +95,7 @@ export class Service {
req: NextRequest,
{ params: { service, token } }: ServiceParams,
): Promise<NextResponse> {
console.log("INTO receiveMessage");
const json = await req.json();
console.log({ json });
const worker = await getWorkerUtils();
await worker.addJob(`${service}/receive-${service}-message`, {
token,