Skip to content

Commit

Permalink
Fix lint suggestions. Fix module shared import.
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejpass committed Nov 8, 2023
1 parent 6b16280 commit fcfb492
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/server/src/modules/tldraw/repo/tldraw-board.repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class TldrawBoardRepo {

public mdb: MongodbPersistence;

constructor(private readonly configService: ConfigService<TldrawConfig, true>) {
constructor(public readonly configService: ConfigService<TldrawConfig, true>) {
this.connectionString = this.configService.get<string>('CONNECTION_STRING');
this.collectionName = this.configService.get<string>('TLDRAW_DB_COLLECTION_NAME') ?? 'drawings';
this.flushSize = this.configService.get<number>('TLDRAW_DB_FLUSH_SIZE') ?? 400;
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/tldraw/repo/tldraw.repo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Test, TestingModule } from '@nestjs/testing';
import { cleanupCollections } from '@shared/testing';
import { tldrawEntityFactory } from '@src/modules/tldraw/factory';
import { TldrawDrawing } from '@src/modules/tldraw/entities';
import { MongoMemoryDatabaseModule } from '@shared/infra/database';
import { MongoMemoryDatabaseModule } from '@infra/database';
import { TldrawRepo } from './tldraw.repo';

describe(TldrawRepo.name, () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Test, TestingModule } from '@nestjs/testing';
import { EntityManager } from '@mikro-orm/mongodb';
import { MongoMemoryDatabaseModule } from '@shared/infra/database';
import { MongoMemoryDatabaseModule } from '@infra/database';
import { cleanupCollections } from '@shared/testing';
import { TldrawDrawing } from '../entities';
import { tldrawEntityFactory } from '../factory';
Expand Down

0 comments on commit fcfb492

Please sign in to comment.