geolocation param renamed to geo
arnaucode idoctnef@openmailbox.org
Fri, 17 Feb 2017 22:03:39 +0100
3 files changed,
3 insertions(+),
3 deletions(-)
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}