mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
test - fix insertDriveFile (use GridFS filename)
This commit is contained in:
parent
a0c3cb2c6e
commit
1e58cf1dc7
@ -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 New Issue
Block a user