mirror of
https://github.com/arnaucube/openEventsPlatformServer.git
synced 2026-02-07 11:46:38 +01:00
geolocation param renamed to geo
This commit is contained in:
@@ -12,7 +12,7 @@ var alertSchema = new Schema({
|
||||
direction: { type: String },
|
||||
city: { type: String },
|
||||
district: { type: String },
|
||||
geolocation: {
|
||||
geo: {
|
||||
lat: {type: Number},
|
||||
long: {type: Number},
|
||||
name: { type: String }
|
||||
|
||||
@@ -16,7 +16,7 @@ var eventSchema = new Schema({
|
||||
direction: { type: String },
|
||||
city: { type: String },
|
||||
district: { type: String },
|
||||
geolocation: {
|
||||
geo: {
|
||||
lat: {type: Number},
|
||||
long: {type: Number},
|
||||
name: { type: String}
|
||||
|
||||
@@ -32,7 +32,7 @@ var userSchema = new Schema({
|
||||
direction: { type: String },
|
||||
city: { type: String },
|
||||
district: { type: String },
|
||||
geolocation: {
|
||||
geo: {
|
||||
lat: {type: Number},
|
||||
long: {type: Number},
|
||||
name: { type: String}
|
||||
|
||||
Reference in New Issue
Block a user