diff --git a/app/services/stream_copy.js b/app/services/stream_copy.js index 62007a43..f897b933 100644 --- a/app/services/stream_copy.js +++ b/app/services/stream_copy.js @@ -39,7 +39,7 @@ module.exports = class StreamCopy { return cb(err); } - let streamMaker = action === ACTION_TO ? copyTo : copyFrom; + const streamMaker = action === ACTION_TO ? copyTo : copyFrom; this.stream = streamMaker(this.sql); const pgstream = client.query(this.stream);