We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An inconsistency has been identified in the model initialization within src/auth-service/models/UnknownIP.js. The file uses both getModelByTenant(dbTenant, "UnknownIP", UnknownIPSchema) and direct mongoose model initialization with mongoose.model("UnknownIPs"), which could lead to tenant isolation issues.\n\nPR URL: https://github.com/airqo-platform/AirQo-api/pull/3919\nComment URL: https://github.com/airqo-platform/AirQo-api/pull/3919#discussion_r1857373937\n\nRequested by @Baalmart.
src/auth-service/models/UnknownIP.js
getModelByTenant(dbTenant, "UnknownIP", UnknownIPSchema)
mongoose.model("UnknownIPs")
The text was updated successfully, but these errors were encountered:
Baalmart
No branches or pull requests
An inconsistency has been identified in the model initialization within
src/auth-service/models/UnknownIP.js
. The file uses bothgetModelByTenant(dbTenant, "UnknownIP", UnknownIPSchema)
and direct mongoose model initialization withmongoose.model("UnknownIPs")
, which could lead to tenant isolation issues.\n\nPR URL: https://github.com/airqo-platform/AirQo-api/pull/3919\nComment URL: https://github.com/airqo-platform/AirQo-api/pull/3919#discussion_r1857373937\n\nRequested by @Baalmart.The text was updated successfully, but these errors were encountered: