fixed schema import for artifact
This commit is contained in:
parent
7ff2926578
commit
d887d56dd3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user