Skip to content

Commit 69d44f3

Browse files
committed
remove comments
1 parent a6c1217 commit 69d44f3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

server/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const userSchema = new Schema(
8383
default: 'none'
8484
},
8585
banned: { type: Boolean, default: false },
86-
lastLoginTimestamp: { type: Date } // or should it be last active?
86+
lastLoginTimestamp: { type: Date }
8787
},
8888
{ timestamps: true, usePushEach: true }
8989
);

server/server.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ app.get('/', (req, res) => {
167167
res.sendFile(renderIndex());
168168
});
169169

170-
// if we want to see when a user was last active, should we put in some middleware here?
171-
172170
// Handle API errors
173171
app.use('/api', (error, req, res, next) => {
174172
if (error && error.code && !res.headersSent) {

0 commit comments

Comments
 (0)