diff --git a/opencti-platform/opencti-graphql/src/graphql/graphql.js b/opencti-platform/opencti-graphql/src/graphql/graphql.js index ba4eecf141be..960b221a09b0 100644 --- a/opencti-platform/opencti-graphql/src/graphql/graphql.js +++ b/opencti-platform/opencti-graphql/src/graphql/graphql.js @@ -9,13 +9,11 @@ import { constraintDirectiveDocumentation } from 'graphql-constraint-directive'; import { GraphQLError } from 'graphql/error'; import { createApollo4QueryValidationPlugin } from 'graphql-constraint-directive/apollo4'; import createSchema from './schema'; -import conf, { basePath, DEV_MODE, ENABLED_TRACING, GRAPHQL_ARMOR_DISABLED, logApp, PLAYGROUND_ENABLED, PLAYGROUND_INTROSPECTION_DISABLED } from '../config/conf'; -import { authenticateUserFromRequest, userWithOrigin } from '../domain/user'; +import conf, { basePath, DEV_MODE, ENABLED_TRACING, GRAPHQL_ARMOR_DISABLED, PLAYGROUND_ENABLED, PLAYGROUND_INTROSPECTION_DISABLED } from '../config/conf'; import { ForbiddenAccess, ValidationError } from '../config/errors'; import loggerPlugin from './loggerPlugin'; import telemetryPlugin from './telemetryPlugin'; import httpResponsePlugin from './httpResponsePlugin'; -import { executionContext } from '../utils/access'; const createApolloServer = () => { let schema = createSchema();