fixed schema import for artifact

This commit is contained in:
Martin Guether 2017-04-07 10:39:24 +02:00
parent 7ff2926578
commit d887d56dd3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
module.exports.artifactSchema = mongoose.model('Artifact', {
module.exports.artifactSchema = Schema({
mime: String,
thumbnail_uri: String,
space_id: Schema.Types.ObjectId,