Merged in hotfix/2024-09-26-remove-ioevent (pull request #1788)
Remove IO events.
This commit is contained in:
@@ -11,17 +11,17 @@ exports.default = async (req, res) => {
|
||||
const { useremail, bodyshopid, operationName, variables, env, time, dbevent, user } = req.body;
|
||||
|
||||
try {
|
||||
await client.request(queries.INSERT_IOEVENT, {
|
||||
event: {
|
||||
operationname: operationName,
|
||||
time,
|
||||
dbevent,
|
||||
env,
|
||||
variables,
|
||||
bodyshopid,
|
||||
useremail
|
||||
}
|
||||
});
|
||||
// await client.request(queries.INSERT_IOEVENT, {
|
||||
// event: {
|
||||
// operationname: operationName,
|
||||
// time,
|
||||
// dbevent,
|
||||
// env,
|
||||
// variables,
|
||||
// bodyshopid,
|
||||
// useremail
|
||||
// }
|
||||
// });
|
||||
res.sendStatus(200);
|
||||
} catch (error) {
|
||||
logger.log("ioevent-error", "trace", user, null, {
|
||||
|
||||
Reference in New Issue
Block a user