mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
replaced eslint:recommended with prettier
This commit is contained in:
@@ -2,7 +2,6 @@ const mongoose = require('../../services/mongoose');
|
||||
const Schema = mongoose.Schema;
|
||||
|
||||
const TokenSchema = new Schema({
|
||||
|
||||
// ID is the JTI of a given JWT's identifier.
|
||||
id: String,
|
||||
|
||||
@@ -10,7 +9,7 @@ const TokenSchema = new Schema({
|
||||
name: String,
|
||||
|
||||
// Active is used to determine if the token is valid.
|
||||
active: Boolean
|
||||
active: Boolean,
|
||||
});
|
||||
|
||||
module.exports = TokenSchema;
|
||||
|
||||
Reference in New Issue
Block a user