Skip to content

Commit

Permalink
Remove unused protocols status
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Jun 28, 2021
1 parent 1c4c438 commit 4bc4b8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/protocols/entities/protocol.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export enum ProtocolStatus {
REPLACED = 'replaced',
READY = 'ready',
APPROVED = 'approved',
PUBLISHING = 'publishing',
PUBLISHED = 'published',
}

Expand Down
4 changes: 0 additions & 4 deletions src/protocols/entities/protocols.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,6 @@ export class ProtocolsRepository {
return qb.getMany();
}

async markProtocolsAsPublishing(protocols: Protocol[]): Promise<void> {
this.markProtocolsAs(ProtocolStatus.PUBLISHING, protocols);
}

async markProtocolsAsPublished(protocols: Protocol[]): Promise<void> {
this.markProtocolsAs(ProtocolStatus.PUBLISHED, protocols);
}
Expand Down

0 comments on commit 4bc4b8f

Please sign in to comment.