itizawa 5 tahun lalu
induk
melakukan
1be309255b
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  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 },
 });