Skip to content

Commit

Permalink
feat(apis): add timestamp to data ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Mar 18, 2020
1 parent 8d82a8e commit f4af8bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/apis/repositories/apis.repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ exports.getApiData = (collection) => {
const _schema = new mongoose.Schema({}, {
collection,
strict: false,
timestamps: true,
});

let model;
Expand Down

0 comments on commit f4af8bd

Please sign in to comment.