Skip to content

Commit 8479b77

Browse files
committed
fix: mongoose warning for key expiresAt indexing
1 parent ac1c440 commit 8479b77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

api/models/schema/key.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const keySchema = mongoose.Schema({
1616
},
1717
expiresAt: {
1818
type: Date,
19-
expires: 0,
2019
},
2120
});
2221

0 commit comments

Comments
 (0)