-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update interval parameter handling in views
- Replaced `daysInterval` with `intervalInDays` in `hardwareDetailsView.py` and `treeView.py`. - Updated import statements to include `parseIntervalInDaysGetParameter` and `ExceptionWithJsonResponse`. - Modified `hardware.sh` to use the new `intervalInDays` parameter. - Adjusted error handling to use `ExceptionWithJsonResponse` for better consistency.
- Loading branch information
Showing
3 changed files
with
54 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
http 'http://localhost:8000/api/hardware/raspberrypi,2-model-b?daysInterval=1' | ||
http 'http://localhost:8000/api/hardware/raspberrypi,2-model-b?intervalInDays=1' |