From 4bc4b8f02a79d1d71fce6d46def5ca8cd62ed2dd Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Mon, 28 Jun 2021 06:55:02 +0300 Subject: [PATCH] Remove unused protocols status --- src/protocols/entities/protocol.entity.ts | 1 - src/protocols/entities/protocols.repository.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/protocols/entities/protocol.entity.ts b/src/protocols/entities/protocol.entity.ts index 46252a0f..843012ad 100644 --- a/src/protocols/entities/protocol.entity.ts +++ b/src/protocols/entities/protocol.entity.ts @@ -27,7 +27,6 @@ export enum ProtocolStatus { REPLACED = 'replaced', READY = 'ready', APPROVED = 'approved', - PUBLISHING = 'publishing', PUBLISHED = 'published', } diff --git a/src/protocols/entities/protocols.repository.ts b/src/protocols/entities/protocols.repository.ts index 47c051a0..a0bcee68 100644 --- a/src/protocols/entities/protocols.repository.ts +++ b/src/protocols/entities/protocols.repository.ts @@ -212,10 +212,6 @@ export class ProtocolsRepository { return qb.getMany(); } - async markProtocolsAsPublishing(protocols: Protocol[]): Promise { - this.markProtocolsAs(ProtocolStatus.PUBLISHING, protocols); - } - async markProtocolsAsPublished(protocols: Protocol[]): Promise { this.markProtocolsAs(ProtocolStatus.PUBLISHED, protocols); }