aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2016-12-03 03:28:14 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2016-12-03 03:28:14 +0530
commit68d1ff76de611e806e19c87374faeffb891cdcc0 (patch)
tree8e30f9231efb6a3b8d8daec2c84691dd79ad72dc
parentd3dd330723ccadbb5cae8de9efbb67ea790c7ec8 (diff)
downloadtraccar-server-68d1ff76de611e806e19c87374faeffb891cdcc0.tar.gz
traccar-server-68d1ff76de611e806e19c87374faeffb891cdcc0.tar.bz2
traccar-server-68d1ff76de611e806e19c87374faeffb891cdcc0.zip
Fix incorrect entries
- for /commandtypes and /users
-rw-r--r--swagger.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/swagger.json b/swagger.json
index 607294de4..25b76963c 100644
--- a/swagger.json
+++ b/swagger.json
@@ -766,7 +766,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/definitions/Position"
+ "$ref": "#/definitions/User"
}
}
}
@@ -921,7 +921,7 @@
}
},
"/commandtypes": {
- "post": {
+ "get": {
"consumes": [
"application/json"
],