Skip to content

Commit

Permalink
reordered deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZibanPirate committed Sep 8, 2024
1 parent b54f7fe commit 4429104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ Sentry.setupExpressErrorHandler(app);
// Start it
app.listen(PORT, () => {
const commonConfig = fsConfig(NODE_ENV);
logger.info({ message: `API Server up on: ${commonConfig.api.url}/docs` });
logger.info({ message: `API Server up on: ${commonConfig.api.url}/` });
});
2 changes: 1 addition & 1 deletion api/src/digest/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export class DigestCron {

try {
await this.contributorsRepository.deleteAllRelationWithRepositoryButWithRunId(runId);
await this.contributorsRepository.deleteAllButWithRunId(runId);
await this.contributionsRepository.deleteAllButWithRunId(runId);
await this.contributorsRepository.deleteAllButWithRunId(runId);
await this.repositoriesRepository.deleteAllButWithRunId(runId);
await this.projectsRepository.deleteAllButWithRunId(runId);
} catch (error) {
Expand Down

0 comments on commit 4429104

Please sign in to comment.