airqo-platform / airqo-platform/AirQo-api
Inconsistent Model Initialization in UnknownIP Model
未关闭
- 主要语言
- JavaScript
- 星标
- 26
- 派生
- 24
- 平均合并
- 5 小时 36 分钟
- 30 天内合并 PR
- 81
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。