From a390b02416777b045f03a286bfbb02ac369571e6 Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Fri, 24 Jan 2020 16:16:27 -0800 Subject: Converting all tabs to two-spaces --- models/EventGroup.js | 86 ++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'models/EventGroup.js') diff --git a/models/EventGroup.js b/models/EventGroup.js index 336074c..6d2893b 100755 --- a/models/EventGroup.js +++ b/models/EventGroup.js @@ -1,49 +1,49 @@ const mongoose = require('mongoose'); const EventGroupSchema = new mongoose.Schema({ - id: { - type: String, - required: true, - unique: true - }, - name: { - type: String, - trim: true, - required: true - }, - description: { - type: String, - trim: true, - required: true - }, - image: { - type: String, - trim: true - }, - url: { - type: String, - trim: true - }, - creatorEmail: { - type: String, - trim: true - }, - hostName: { - type: String, - trim: true - }, - editToken: { - type: String, - trim: true, - minlength: 32, - maxlength: 32 - }, - firstLoad: { - type: Boolean, - trim: true, - default: true - }, - events: [{ type: mongoose.Schema.Types.ObjectId, ref: 'Event' }] + id: { + type: String, + required: true, + unique: true + }, + name: { + type: String, + trim: true, + required: true + }, + description: { + type: String, + trim: true, + required: true + }, + image: { + type: String, + trim: true + }, + url: { + type: String, + trim: true + }, + creatorEmail: { + type: String, + trim: true + }, + hostName: { + type: String, + trim: true + }, + editToken: { + type: String, + trim: true, + minlength: 32, + maxlength: 32 + }, + firstLoad: { + type: Boolean, + trim: true, + default: true + }, + events: [{ type: mongoose.Schema.Types.ObjectId, ref: 'Event' }] }); module.exports = mongoose.model('EventGroup', EventGroupSchema); -- cgit v1.2.3