Skip to content

Commit 0067ba5

Browse files
committed
fixing csv url and delete commit msg
1 parent f552b7b commit 0067ba5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/connectionConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ ConnectionConfig.prototype.csvURL = function(type, gid) {
294294
var s = this.branchBase('csv')
295295
const graphId = gid || 'main'
296296
const gType = type || 'instance'
297-
s += `/${gType}/${graphId}`
297+
//s += `/${gType}/${graphId}`
298298
return s
299299
}
300300

lib/woqlClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ WOQLClient.prototype.getCSV = function(csvName, download, gtype, gid) {
492492
let commit = this.generateCommitInfo(commitMsg)
493493
let options = {}, filePath
494494
options.name=csvName;
495-
options.commit_info=commit
496-
return this.dispatch(CONST.DELETE_CSV, this.connectionConfig.csvURL(gtype, gid), options).then(results => {
495+
options.commit_info=commit.commit_info
496+
return this.dispatch(CONST.DELETE_CSV, this.connectionConfig.csvURL(), options).then(results => {
497497
return results;
498498
})
499499
}

0 commit comments

Comments
 (0)