mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #8 from overleaf/spd-default-opts
Add default parameter for 'opts' in MigrationPersistor.getObjectStream
This commit is contained in:
@@ -63,7 +63,7 @@ module.exports = class MigrationPersistor extends AbstractPersistor {
|
||||
return this._runOnBoth('deleteDirectory', ...args)
|
||||
}
|
||||
|
||||
async getObjectStream(bucket, key, opts) {
|
||||
async getObjectStream(bucket, key, opts = {}) {
|
||||
const shouldCopy = this.settings.copyOnMiss && !opts.start && !opts.end
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user