Skip to content

Commit

Permalink
Disabled pluralization of mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXNOOBX committed Jan 9, 2025
1 parent 1c5e3ba commit 99481f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/mongodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default {

log.debug(`mongodb - Connecting to ${db_url}/${db_name} ...`);

mongoose.pluralize(null);

mongoose.connect(`${db_url}/${db_name}`, { });
const db = mongoose.connection;

Expand Down

0 comments on commit 99481f5

Please sign in to comment.