mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-21 19:10:58 +00:00
Merge pull request #8 from overleaf/spd-default-opts
Add default parameter for 'opts' in MigrationPersistor.getObjectStream
This commit is contained in:
commit
c1f6554f1c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module.exports = class MigrationPersistor extends AbstractPersistor {
|
||||||
return this._runOnBoth('deleteDirectory', ...args)
|
return this._runOnBoth('deleteDirectory', ...args)
|
||||||
}
|
}
|
||||||
|
|
||||||
async getObjectStream(bucket, key, opts) {
|
async getObjectStream(bucket, key, opts = {}) {
|
||||||
const shouldCopy = this.settings.copyOnMiss && !opts.start && !opts.end
|
const shouldCopy = this.settings.copyOnMiss && !opts.start && !opts.end
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue