feat: wire async app flows for checkout x mentions signed playback and queued generation
This commit is contained in:
@@ -46,7 +46,7 @@ function createHttpServer({ app }) {
|
||||
return http.createServer(async (req, res) => {
|
||||
try {
|
||||
const rawBody = await readBody(req);
|
||||
const response = app.handleRequest(mapToAppRequest({ req, rawBody }));
|
||||
const response = await app.handleRequest(mapToAppRequest({ req, rawBody }));
|
||||
|
||||
res.statusCode = response.status;
|
||||
for (const [key, value] of Object.entries(response.headers || {})) {
|
||||
|
||||
Reference in New Issue
Block a user