arnaucube
arnaucube/openEventsPlatformServerPublic Self-hosted repository
geolocation param renamed to geo
arnaucode idoctnef@openmailbox.org
Fri, 17 Feb 2017 22:03:39 +0100
commit

a84ee68672b499f823f4db17e13ca046b16d7769

parent

b62ddb37bc83e8383a14b97b5d0e13852a98315a

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M models/alertModel.js → models/alertModel.js

@@ -12,7 +12,7 @@ location:{

direction: { type: String }, city: { type: String }, district: { type: String }, - geolocation: { + geo: { lat: {type: Number}, long: {type: Number}, name: { type: String }
M models/eventModel.js → models/eventModel.js

@@ -16,7 +16,7 @@ location: {

direction: { type: String }, city: { type: String }, district: { type: String }, - geolocation: { + geo: { lat: {type: Number}, long: {type: Number}, name: { type: String}
M models/userModel.js → models/userModel.js

@@ -32,7 +32,7 @@ location:{

direction: { type: String }, city: { type: String }, district: { type: String }, - geolocation: { + geo: { lat: {type: Number}, long: {type: Number}, name: { type: String}