airqo-platform / airqo-platform/AirQo-api

Refactor filters for 'last_active' and 'last_active_after' in generateFilter utility

Offen
#3,492 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

The implementation of `last_active` and `last_active_after` in the `generateFilter` utility sets the same filter condition. To improve clarity and maintainability, consider combining these conditions to reduce code duplication and enhance readability.

**Pull Request**: https://github.com/airqo-platform/AirQo-api/pull/3489

**Comment**: https://github.com/airqo-platform/AirQo-api/pull/3489#discussion_r1771708574

**Requested by**: @Baalmart

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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