More Whatsapp Docker updates
This commit is contained in:
parent
3da103c010
commit
e26e5832ff
8 changed files with 63 additions and 21 deletions
|
|
@ -95,12 +95,12 @@ export class Service {
|
|||
{ params: { service, token } }: ServiceParams,
|
||||
): Promise<NextResponse> {
|
||||
console.log("INTO receiveMessage");
|
||||
const message = await req.json();
|
||||
console.log({ message });
|
||||
const json = await req.json();
|
||||
console.log({ json });
|
||||
const worker = await getWorkerUtils();
|
||||
await worker.addJob(`${service}/receive-${service}-message`, {
|
||||
token,
|
||||
message,
|
||||
...json,
|
||||
});
|
||||
|
||||
return NextResponse.json({ response: "ok" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue