mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
feat: implement BAP webhook configuration management and customer order tracking support
This commit is contained in:
1 parent
576db2d7f4
commit
55191c511b
6 files changed
+208
-21
No files matched your search
+2
-3
@@ -3352,9 +3352,8 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
}
|
||||
|
||||
const updatedOrder = await storage.markClientCalled(id, user.id);
|
||||
|
||||
console.log(`📞 Client marked as called: order ${id} by user ${user.id} (${user.role})`);
|
||||
const { comment } = req.body;
|
||||
const updatedOrder = await storage.markClientCalled(id, user.id, comment);
|
||||
res.json(updatedOrder);
|
||||
} catch (error) {
|
||||
console.error("Error marking client as called:", error);
|
||||
|
||||
Reference in new issue
Block a user