Explorar el Código

shage model expiration to expiredAt

ryuichi-e hace 6 años
padre
commit
f68c1fc903
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/server/models/share-link.js

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

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