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;
|
const { useremail, bodyshopid, operationName, variables, env, time, dbevent, user } = req.body;
|
||||||
|
|
||||||
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
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
res.sendStatus(200);
|
res.sendStatus(200);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.log("ioevent-error", "trace", user, null, {
|
logger.log("ioevent-error", "trace", user, null, {
|
||||||
|
|||||||
Reference in New Issue
Block a user