Merge branch 'hotfix/2024-09-26-remove-ioevent' into release/2024-09-27

This commit is contained in:
Patrick Fic
2024-09-26 15:04:42 -07:00

View File

@@ -16,17 +16,17 @@ exports.default = async (req, res) => {
ioHelpers: { getBodyshopRoom } ioHelpers: { getBodyshopRoom }
} = req; } = req;
try { try {
await client.request(queries.INSERT_IOEVENT, { // await client.request(queries.INSERT_IOEVENT, {
event: { // event: {
operationname: operationName, // operationname: operationName,
time, // time,
dbevent, // dbevent,
env, // env,
variables, // variables,
bodyshopid, // bodyshopid,
useremail // useremail
} // }
}); // });
ioRedis.to(getBodyshopRoom(bodyshopid)).emit("bodyshop-message", { ioRedis.to(getBodyshopRoom(bodyshopid)).emit("bodyshop-message", {
operationName, operationName,