Skip to content

Commit

Permalink
plumb i18n through
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushaddon committed Nov 13, 2023
1 parent 6e0d743 commit f565256
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/src/core/server/graph/mutators/Comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const Comments = (ctx: GraphContext) => ({
ctx.mongo,
ctx.redis,
ctx.config,
ctx.i18n,
ctx.cache.commentActions,
ctx.broker,
ctx.tenant,
Expand Down
1 change: 1 addition & 0 deletions server/src/core/server/graph/mutators/DSAReports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const DSAReports = (ctx: GraphContext) => ({
ctx.mongo,
ctx.redis,
ctx.config,
ctx.i18n,
ctx.cache.commentActions,
ctx.broker,
ctx.tenant,
Expand Down
3 changes: 3 additions & 0 deletions server/src/core/server/services/comments/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ export async function createIllegalContent(
mongo: MongoContext,
redis: AugmentedRedis,
config: Config,
i18n: I18n,
commentActionsCache: CommentActionsCache,
broker: CoralEventPublisherBroker,
tenant: Tenant,
Expand All @@ -436,6 +437,8 @@ export async function createIllegalContent(
mongo,
redis,
config,
// TODO: ADD internationalization
i18n,
broker,
tenant,
{
Expand Down

0 comments on commit f565256

Please sign in to comment.