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)