Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: await slack message

Brad Barbine3ea340eca29
diff --git a/apps/carbon/app/routes/x+/feedback.tsx b/apps/carbon/app/routes/x+/feedback.tsx
index a255266588..93046e906a 100644
--- a/apps/carbon/app/routes/x+/feedback.tsx
+++ b/apps/carbon/app/routes/x+/feedback.tsx
@@ -49,8 +49,7 @@ export async function action({ request }: ActionFunctionArgs) {
});
}
- console.log("Sending feedback to Slack");
- slackClient.sendMessage({
+ await slackClient.sendMessage({
channel: "#feedback",
text: `New feedback submitted`,
blocks: [
@@ -81,7 +80,6 @@ export async function action({ request }: ActionFunctionArgs) {
},
],
});
- console.log("Feedback sent to Slack");
return json({ success: true, message: "Feedback submitted" });
}