Skip to content

Commit

Permalink
Merge pull request #243 from rechner/patch-1
Browse files Browse the repository at this point in the history
Update SpaceAPI to return integer version number
  • Loading branch information
jabelone authored Feb 2, 2024
2 parents fd54a92 + e194f27 commit 1a8a373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 21.8b0
rev: 24.1.1
hooks:
- id: black
language_version: python3
2 changes: 1 addition & 1 deletion memberportal/api_spacedirectory/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def get(self, request):
"open": config.SPACE_DIRECTORY_ICON_OPEN,
"closed": config.SPACE_DIRECTORY_ICON_CLOSED,
}
spaceapi["api_compatibility"] = ["0.14"]
spaceapi["api_compatibility"] = ["14"]

## Add the sensor data to the main body of the schema
spaceapi["sensors"] = sensor_data
Expand Down

0 comments on commit 1a8a373

Please sign in to comment.