Skip to content

fix: mongodb async connection call - #590

Merged
petruki merged 1 commit into
masterfrom
staging
Oct 11, 2026
Merged

petruki merged 1 commit into
masterfrom
staging

Conversation

@petruki

@petruki petruki commented Oct 11, 2026

Copy link
Copy Markdown
Member

This pull request makes small improvements to the Docker build process and the database connection code to ensure better compatibility and code clarity.

Docker build improvements:

  • Updated the RUN npm prune command in the Dockerfile to use --omit=dev and --legacy-peer-deps for more reliable dependency pruning and compatibility with legacy peer dependencies.

Code quality:

  • Changed the database connection statement in src/db/mongoose.js from await to void to avoid unhandled promise warnings and clarify that the promise is intentionally not awaited.

@petruki petruki added this to the v1.4.1 milestone Oct 11, 2026
@petruki petruki self-assigned this Oct 11, 2026
@sonarqubecloud

Copy link
Copy Markdown

@petruki
petruki merged commit 52246e9 into master Oct 11, 2026
5 checks passed
@petruki
petruki deleted the staging branch October 11, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant