airqo-platform / airqo-platform/AirQo-api
Refactor repetitive code in batchDeployWithCoordinates and deploy methods
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 26
- Forks
- 24
- Ø Merge
- 5 Std. 36 Min.
- Gemergte PRs (30 T.)
- 81
Beschreibung
As discussed in PR #3508 by @Baalmart, the `batchDeployWithCoordinates` function shares substantial similarities with the existing `deploy` method. To enhance maintainability and reduce code duplication, it's suggested to abstract the common logic into a shared helper function.
**Requester**: @Baalmart
**PR URL**: https://github.com/airqo-platform/AirQo-api/pull/3508
**Comment URL**: https://github.com/airqo-platform/AirQo-api/pull/3508#discussion_r1773815737
This issue aims to track this suggestion for future implementation.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.