Notification system enhanced

- Base for notifcation center
- Show text in map if no data is available
This commit is contained in:
2020-11-21 14:11:26 +01:00
parent 8b54431449
commit 533749c7c8
26 changed files with 323 additions and 76 deletions

View File

@@ -6,7 +6,7 @@ const schemaBeat = new Schema({
accuracy: { type: Number, required: false },
speed: { type: Number, required: false },
battery: { type: Number, required: false },
phone: { type: SchemaTypes.ObjectId, required: true, default: 'user' },
phone: { type: SchemaTypes.ObjectId, required: true },
createdAt: { type: SchemaTypes.Date, required: false }
}, {
timestamps: {