airqo-platform / airqo-platform/AirQo-api

Enhance entity status validation and add test coverage for isEntityActive function

未关闭
#3,898 0 条评论 0 个 reaction 已指派 1 人 已被 @Baalmart 认领 在 GitHub 查看
主要语言
JavaScript
星标
26
派生
24
平均合并
5 小时 36 分钟
30 天内合并 PR
81

描述

As discussed in [PR #3893](https://github.com/airqo-platform/AirQo-api/pull/3893), the `isEntityActive` function requires input validation for the time parameter, test coverage for edge cases, and configuration flexibility for the threshold. Please refer to the comment [here](https://github.com/airqo-platform/AirQo-api/pull/3893#discussion_r1855639946) for more details.\n\n**Original Comment by @Baalmart:**\n> Create a Github issue for this.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。