feat: wire dispatch execution and device import flows
This commit is contained in:
@@ -12,6 +12,10 @@ export async function POST(
|
||||
replyBody?: string;
|
||||
errorMessage?: string;
|
||||
requestId?: string;
|
||||
dispatchExecutionId?: string;
|
||||
targetProjectId?: string;
|
||||
targetThreadId?: string;
|
||||
rawThreadReply?: string;
|
||||
};
|
||||
|
||||
if (!body.deviceId?.trim()) {
|
||||
@@ -33,6 +37,10 @@ export async function POST(
|
||||
replyBody: body.replyBody,
|
||||
errorMessage: body.errorMessage,
|
||||
requestId: body.requestId,
|
||||
dispatchExecutionId: body.dispatchExecutionId,
|
||||
targetProjectId: body.targetProjectId,
|
||||
targetThreadId: body.targetThreadId,
|
||||
rawThreadReply: body.rawThreadReply,
|
||||
});
|
||||
return NextResponse.json({ ok: true, task });
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user