arnaucube
arnaucube/commonroutesServerPublic Self-hosted repository
added faircoinString, nseats of travel not required due the askforpackage don't goes with nseats
arnaucode idoctnef@openmailbox.org
Tue, 11 Jul 2017 22:34:45 +0200
commit

f9971ef8e4ff5ffd8de1328e2a2b6f60e8b15a01

parent

4c1ddb6243bd4d8b44f4a57517e30c1cc844273d

2 files changed, 2 insertions(+), 1 deletions(-)

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

@@ -22,7 +22,7 @@ },

date: { type: Date, required: true }, periodic: { type: Boolean }, generateddate: { type: Date }, - seats: { type: Number, required: true }, + seats: { type: Number }, package: { type: Boolean }, collectivized: { type: Boolean }, type: { type: String }, //if is an offering travel or asking for travel
M models/userModel.js → models/userModel.js

@@ -10,6 +10,7 @@ password: { type: String, required: true, select: false },

token: { type: String, select: false }, description: { type: String, default: "Hello world" }, avatar: { type: String, default: "img/avatars/racoon.png" }, + faircoinString: { type: String, default: "faircoin wallet" }, faircoin: { type: String, default: "img/faircoinpublickey_sample.png" }, email: { type: String, required: true }, phone: { type: String },