Skip to content

Commit

Permalink
fix: delete readyToPublish to stats route
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Mar 19, 2024
1 parent a89ab2a commit 6cc3282
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export class BasesLocalesCreationDTO {
total: number;
published: number;
draft: number;
readyToPublish: number;
demo: number;
}
>;
Expand Down
1 change: 0 additions & 1 deletion apps/api/src/modules/stats/stats.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export class StatsService {
draft: balsByCommune.filter(
({ status }) => status === StatusBaseLocalEnum.DRAFT,
).length,
readyToPublish: 0,
demo: balsByCommune.filter(({ status }) => status === 'demo').length,
})),
};
Expand Down
2 changes: 0 additions & 2 deletions apps/api/test/stats.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ describe('STATS MODULE', () => {
total: 1,
published: 0,
draft: 1,
readyToPublish: 0,
demo: 0,
},
},
Expand All @@ -182,7 +181,6 @@ describe('STATS MODULE', () => {
total: 2,
published: 1,
draft: 1,
readyToPublish: 0,
demo: 0,
},
},
Expand Down

0 comments on commit 6cc3282

Please sign in to comment.