Skip to content

Commit

Permalink
Delete minimum constraint from altitude parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rassokhin-s committed Mar 5, 2021
1 parent 7551f07 commit da0082f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Arbimon Release Notes

## v3.0.14 - Mar 05, 2021

Resolved issues:
- Delete `minimum` constraint from altitude parameter

## v3.0.13 - Mar 02, 2021

New features:
Expand Down
2 changes: 1 addition & 1 deletion app/routes/data-api/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ router.post('/sites', verifyToken(), hasRole(['appUser', 'rfcxUser']), async fun
converter.convert('name').toString();
converter.convert('latitude').toFloat().minimum(-90).maximum(90);
converter.convert('longitude').toFloat().minimum(-180).maximum(180);
converter.convert('altitude').toFloat().minimum(0);
converter.convert('altitude').toFloat();
converter.convert('external_id').toString();
converter.convert('project_id').optional().toString();
converter.convert('project_external_id').optional().toString();
Expand Down

0 comments on commit da0082f

Please sign in to comment.