diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
commit | 453c08463bf46e568c8a5018416ad88498a73f29 (patch) | |
tree | 831ba6543b21997beb237441ad752eb8fc76a0b2 /src/models/Log.js | |
parent | 57545c3a3eda30a1ef6ece10090a6b0fb69a29a7 (diff) |
linting: source files
Diffstat (limited to 'src/models/Log.js')
-rwxr-xr-x | src/models/Log.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/models/Log.js b/src/models/Log.js index 95a3ab3..b048a45 100755 --- a/src/models/Log.js +++ b/src/models/Log.js @@ -1,26 +1,26 @@ -const mongoose = require('mongoose'); +const mongoose = require("mongoose"); const LogSchema = new mongoose.Schema({ status: { type: String, trim: true, - required: true + required: true, }, process: { type: String, trim: true, - required: true + required: true, }, message: { type: String, trim: true, - required: true + required: true, }, timestamp: { type: Date, trim: true, - required: true - } + required: true, + }, }); -module.exports = mongoose.model('Log', LogSchema); +module.exports = mongoose.model("Log", LogSchema); |