airqo-platform / airqo-platform/AirQo-api

Enhance 'period' field validation in validatePreferences middleware

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

There is an opportunity to enhance the validation of the `period` field in the `validatePreferences` middleware to ensure it correctly handles null values.

PR: https://github.com/airqo-platform/AirQo-api/pull/3699
Comment: https://github.com/airqo-platform/AirQo-api/pull/3699#discussion_r1807831453

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.