itizawa 5 лет назад
Родитель
Сommit
1be309255b
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/server/models/share-link.js

+ 1 - 3
src/server/models/share-link.js

@@ -17,9 +17,7 @@ const schema = new mongoose.Schema({
     index: true,
   },
   expiration: { type: Date },
-  description: {
-    type: String,
-  },
+  description: { type: String },
   createdAt: { type: Date, default: Date.now, required: true },
 });