mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 21:33:09 +02:00
test - fix insertDriveFile (use GridFS filename)
This commit is contained in:
parent
696cd3b0e3
commit
16bed0ca03
1 changed files with 2 additions and 3 deletions
|
@ -1155,9 +1155,8 @@ function insertHimawari(opts) {
|
|||
function insertDriveFile(opts) {
|
||||
return db.get('drive_files.files').insert({
|
||||
length: opts.datasize,
|
||||
metadata: Object.assign({
|
||||
name: 'strawberry-pasta.png'
|
||||
}, opts)
|
||||
filename: 'strawberry-pasta.png',
|
||||
metadata: opts
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue