Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
  • Loading branch information
Stepan-Kirjakov committed Jan 28, 2025
1 parent 4ceaf39 commit 611e5c3
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion api-gateway/src/api/service/formulas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ export class FormulasApi {
}
}


/**
* Get relationships by id
*/
Expand Down
2 changes: 0 additions & 2 deletions api-gateway/src/helpers/guardians.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
IToken,
ITokenInfo,
IUser,
IVC,
IVCDocument,
IVPDocument,
MessageAPI,
Expand Down Expand Up @@ -3227,7 +3226,6 @@ export class Guardians extends NatsService {
return await this.sendMessage(MessageAPI.PREVIEW_SCHEMA_RULE_FILE, { zip, owner });
}


/**
* Get Indexer availability
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApiExtraModels, ApiProperty } from '@nestjs/swagger';
import { Examples } from '../examples.js';
import { IsArray, IsBoolean, IsObject, IsOptional, IsString } from 'class-validator';
import { IsArray, IsObject, IsOptional, IsString } from 'class-validator';
import { EntityStatus } from '@guardian/interfaces';
import { VcDocumentDTO } from './document.dto.js';
import { SchemaDTO } from './schemas.dto.js';
Expand Down
2 changes: 1 addition & 1 deletion guardian-service/src/api/formulas.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export async function formulasAPI(logger: PinoLogger): Promise<void> {
return new MessageResponse({
policy,
schemas: all,
formulas: formulas
formulas
});
} catch (error) {
await logger.error(error, ['GUARDIAN_SERVICE']);
Expand Down
3 changes: 1 addition & 2 deletions guardian-service/src/api/helpers/formulas-helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DatabaseServer, Formula, FormulaImportExport, FormulaMessage, MessageAction, MessageServer, PinoLogger, TopicConfig, VcDocument } from '@guardian/common';
import { DatabaseServer, Formula, FormulaImportExport, FormulaMessage, MessageAction, MessageServer, TopicConfig, VcDocument } from '@guardian/common';
import { EntityStatus, IOwner, IRootConfig } from '@guardian/interfaces';
import { INotifier } from '../../helpers/notifier.js';

Expand Down Expand Up @@ -113,7 +113,6 @@ export async function publishFormula(

item.messageId = statMessageResult.getId();


const result = await DatabaseServer.updateFormula(item);
return result;
}
2 changes: 1 addition & 1 deletion interfaces/src/type/messages/workers.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export enum WorkerTaskType {
GET_CONTRACT_EVENTS = 'get-contract-events',
GET_TRANSACTIONS = 'get-transaction',
ANALYTICS_SEARCH_POLICIES = 'analytics-search-policies',
ANALYTICS_GET_INDEXER_AVAILABILITY = "analytics-get-indexer-availability",
ANALYTICS_GET_INDEXER_AVAILABILITY = 'analytics-get-indexer-availability',
ANALYTICS_GET_RETIRE_DOCUMENTS = 'analytics-get-retire-documents'
}

Expand Down

0 comments on commit 611e5c3

Please sign in to comment.