api: remove unecessary log
This commit is contained in:
@@ -32,7 +32,6 @@ const eventRouter: FastifyPluginCallback = (fastify, opts, done) => {
|
|||||||
if (bot) {
|
if (bot) {
|
||||||
const path = (req.body?.properties?.__path ||
|
const path = (req.body?.properties?.__path ||
|
||||||
req.body?.properties?.path) as string | undefined;
|
req.body?.properties?.path) as string | undefined;
|
||||||
logger.warn({ ...req.headers, bot }, 'Bot detected (event)');
|
|
||||||
await createBotEvent({
|
await createBotEvent({
|
||||||
...bot,
|
...bot,
|
||||||
projectId,
|
projectId,
|
||||||
|
|||||||
Reference in New Issue
Block a user