diff --git a/lib/models/make.js b/lib/models/make.js index ef5d58c..0d65d3d 100644 --- a/lib/models/make.js +++ b/lib/models/make.js @@ -125,9 +125,12 @@ module.exports = function( environment, mongoInstance ) { } }); + // Synchronize existing makes with Elastic Search + Make.synchronize(); + Make.publicFields = [ "url", "contentType", "locale", "title", "description", "author", "published", "tags", "thumbnail", "remixedFrom" ]; - + return Make; };