Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
TuvalSimha committed Sep 22, 2024
1 parent b134661 commit a37a6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/services/api/src/modules/audit-logs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createModule } from 'graphql-modules';
import { ClickHouse } from '../operations/providers/clickhouse-client';
import { AuditLogManager } from './providers/audit-logs-manager';
import { resolvers } from './resolvers.generated';
import { typeDefs } from './module.graphql';
Expand All @@ -8,5 +9,5 @@ export const auditLogsModule = createModule({
dirname: __dirname,
typeDefs,
resolvers,
providers: [AuditLogManager],
providers: [AuditLogManager, ClickHouse],
});
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ClickHouse, sql } from '../../operations/providers/clickhouse-client';
import { Logger } from '../../shared/providers/logger';
import { AuditLogEvent, auditLogSchema } from './audit-logs-types';

// TODO: Error: No provider for ClickHouse! (AuditLogManager -> ClickHouse) - in Module "audit-logs" (Operation Scope)
@Injectable({
scope: Scope.Operation,
global: true,
Expand Down

0 comments on commit a37a6fa

Please sign in to comment.