diff --git a/server/src/core/server/graph/mutators/Comments.ts b/server/src/core/server/graph/mutators/Comments.ts index d047be6263..38a151a81c 100644 --- a/server/src/core/server/graph/mutators/Comments.ts +++ b/server/src/core/server/graph/mutators/Comments.ts @@ -152,6 +152,7 @@ export const Comments = (ctx: GraphContext) => ({ ctx.mongo, ctx.redis, ctx.config, + ctx.i18n, ctx.cache.commentActions, ctx.broker, ctx.tenant, diff --git a/server/src/core/server/graph/mutators/DSAReports.ts b/server/src/core/server/graph/mutators/DSAReports.ts index ab64669490..4483fb7e23 100644 --- a/server/src/core/server/graph/mutators/DSAReports.ts +++ b/server/src/core/server/graph/mutators/DSAReports.ts @@ -26,6 +26,7 @@ export const DSAReports = (ctx: GraphContext) => ({ ctx.mongo, ctx.redis, ctx.config, + ctx.i18n, ctx.cache.commentActions, ctx.broker, ctx.tenant, diff --git a/server/src/core/server/services/comments/actions.ts b/server/src/core/server/services/comments/actions.ts index 12c88582c2..a3ff147c25 100644 --- a/server/src/core/server/services/comments/actions.ts +++ b/server/src/core/server/services/comments/actions.ts @@ -410,6 +410,7 @@ export async function createIllegalContent( mongo: MongoContext, redis: AugmentedRedis, config: Config, + i18n: I18n, commentActionsCache: CommentActionsCache, broker: CoralEventPublisherBroker, tenant: Tenant, @@ -436,6 +437,8 @@ export async function createIllegalContent( mongo, redis, config, + // TODO: ADD internationalization + i18n, broker, tenant, {