airqo-platform / airqo-platform/AirQo-api

Refactor repetitive code in batchDeployWithCoordinates and deploy methods

Offen
#3,511 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Baalmart Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.