From c306c4f7a1a1043f65282a99c754fafa142a81d5 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Fri, 15 Jan 2021 08:01:14 -0400 Subject: [PATCH] Remove unused imports --- server/src/resolvers/Mutation/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/src/resolvers/Mutation/index.js b/server/src/resolvers/Mutation/index.js index 9efbc31..56eb926 100644 --- a/server/src/resolvers/Mutation/index.js +++ b/server/src/resolvers/Mutation/index.js @@ -4,7 +4,7 @@ import { ResetToken } from '../../classes/ResetToken' import { updateDevicesInfo } from '../../lib/wifiDevices' import { updateUserIdMappings, addHost } from '../../lib/paloalto' -import { logInfo, logSuccess, logWarning } from '../../lib/logger' +import { logInfo, logSuccess } from '../../lib/logger' const Mutation = { async login(_, { data }) { @@ -52,11 +52,6 @@ const Mutation = { { data: { cidr, user, password, description, note } }, { auth } ) { - logWarning({ - message: `User ${auth.sAMAccountName}(${auth.displayName}) está tentando adicionar um novo host Palo Alto.`, - tags: ['paloalto'] - }) - const host = await addHost({ cidr, user, password, description, note }) if (host)