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); }