Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihar committed Aug 28, 2024
1 parent 78cb8d1 commit d2e93e5
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion analytics-service/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
COMMON_CONNECTION_CONFIG,
DataBaseHelper, DatabaseServer,
DatabaseServer,
LargePayloadContainer,
MessageBrokerChannel,
Migration,
Expand Down
1 change: 0 additions & 1 deletion indexer-api-gateway/src/api/_dev/services/status.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Controller, HttpCode, HttpStatus, Get, Inject } from '@nestjs/common';
import { ClientProxy, EventPattern } from '@nestjs/microservices';
import {
ApiInternalServerErrorResponse,
ApiForbiddenResponse,
ApiOkResponse,
ApiOperation,
Expand Down
2 changes: 1 addition & 1 deletion indexer-service/src/helpers/ipfs-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class IPFSService {
timeout,
}
);
return items.data;
return items.data;
} catch (error) {
throw new CustomError(String(error), error.response?.status)
}
Expand Down
2 changes: 0 additions & 2 deletions policy-service/src/api/policy-process.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '../config.js'
import {
COMMON_CONNECTION_CONFIG,
DataBaseHelper,
DatabaseServer,
entities,
Environment,
Expand All @@ -26,7 +25,6 @@ import { PolicyValidator } from '../policy-engine/block-validators/index.js';
import process from 'process';
import { CommonVariables } from '../helpers/common-variables.js';
import { PolicyEvents } from '@guardian/interfaces';
import { GridFSBucket } from 'mongodb';
import { SynchronizationService } from '../policy-engine/multi-policy-service/index.js';
import { Module } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
Expand Down
2 changes: 1 addition & 1 deletion policy-service/src/policy-engine/blocks/report-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { PolicyUser } from '../policy-user.js';
import { PolicyUtils } from '../helpers/utils.js';
import { ExternalEvent, ExternalEventType } from '../interfaces/external-event.js';
import { getVCField, VcDocument, VpDocument } from '@guardian/common';
import { FilterObject, FilterQuery } from '@mikro-orm/core';
import { FilterObject } from '@mikro-orm/core';

/**
* Report block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { ExternalEvent } from './interfaces/external-event.js';
import { BlockTreeGenerator } from './block-tree-generator.js';
import { PolicyNavigationMap } from './interfaces/block-state.js';
import { ComponentsService } from './helpers/components-service.js';
import { PopulatePath } from '@mikro-orm/mongodb';

/**
* Policy tag helper
Expand Down
2 changes: 1 addition & 1 deletion queue-service/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApplicationState, COMMON_CONNECTION_CONFIG, DataBaseHelper, DatabaseServer, MessageBrokerChannel, mongoForLoggingInitialization, NotificationService, PinoLogger, pinoLoggerInitialization } from '@guardian/common';
import { ApplicationState, COMMON_CONNECTION_CONFIG, DatabaseServer, MessageBrokerChannel, mongoForLoggingInitialization, NotificationService, PinoLogger, pinoLoggerInitialization } from '@guardian/common';
import { ApplicationStates, GenerateUUIDv4 } from '@guardian/interfaces';
import { MikroORM } from '@mikro-orm/core';
import { MongoDriver } from '@mikro-orm/mongodb';
Expand Down
1 change: 0 additions & 1 deletion queue-service/src/queue-service/queue-service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { DatabaseServer, MAP_TASKS_AGGREGATION_FILTERS, MessageError, MessageResponse, NatsService, Singleton } from '@guardian/common';
import { GenerateUUIDv4, ITask, OrderDirection, QueueEvents, WorkerEvents } from '@guardian/interfaces';
import { FilterObject } from '@mikro-orm/core';
import { TaskEntity } from '../entity/task';

@Singleton
Expand Down

0 comments on commit d2e93e5

Please sign in to comment.