test - fix insertDriveFile (use GridFS filename)
This commit is contained in:
parent
696cd3b0e3
commit
16bed0ca03
|
@ -1155,9 +1155,8 @@ function insertHimawari(opts) {
|
||||||
function insertDriveFile(opts) {
|
function insertDriveFile(opts) {
|
||||||
return db.get('drive_files.files').insert({
|
return db.get('drive_files.files').insert({
|
||||||
length: opts.datasize,
|
length: opts.datasize,
|
||||||
metadata: Object.assign({
|
filename: 'strawberry-pasta.png',
|
||||||
name: 'strawberry-pasta.png'
|
metadata: opts
|
||||||
}, opts)
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue