@@ -394,15 +394,15 @@ WOQLClient.prototype.insertTriples = function(gtype, gid, turtle, commit_msg) {
394394}
395395
396396/**
397- * Inserts a csv into the specified path
397+ * Inserts a csv from a specified path
398398 *
399- * @param {array } csv_path is an array of csv file names
399+ * @param {array } csv_path is an array of csv file names with file path
400400 * @param {string } commitMsg Textual message describing the reason for the update
401401 * @param {string } gtype type of graph |instance|schema|inference|
402402 * @param {string } gid TerminusDB Graph ID to update, main is the default value
403403 * @return {Promise } An API success message
404404 */
405- WOQLClient . prototype . insertCSV = function ( csv_path , commitMsg , gtype , gid ) {
405+ WOQLClient . prototype . insertCSV = function ( csv_path , commit_msg , gtype , gid ) {
406406 if ( commitMsg && csv_path ) {
407407 let commit = this . generateCommitInfo ( commitMsg )
408408 const formData = new FormData ( ) ;
@@ -435,7 +435,7 @@ WOQLClient.prototype.insertCSV = function(csv_path, commitMsg, gtype, gid) {
435435 * @param {string } gid TerminusDB Graph ID to update, main is the default value
436436 * @return {Promise } An API success message
437437 */
438- WOQLClient . prototype . updateCSV = function ( csv , commitMsg , gtype , gid ) {
438+ WOQLClient . prototype . updateCSV = function ( csv , commit_msg , gtype , gid ) {
439439 if ( commitMsg && csv ) {
440440 let commit = this . generateCommitInfo ( commitMsg )
441441 const formData = new FormData ( ) ;
@@ -487,7 +487,7 @@ WOQLClient.prototype.getCSV = function(csvName, download, gtype, gid) {
487487 * @param {string } gid TerminusDB Graph ID to update, main is the default value
488488 * @return {Promise } An API success message
489489 */
490- WOQLClient . prototype . deleteCSV = function ( csvName , commitMsg , gtype , gid ) {
490+ WOQLClient . prototype . deleteCSV = function ( csvName , commit_msg , gtype , gid ) {
491491 if ( commitMsg && csvName ) {
492492 let commit = this . generateCommitInfo ( commitMsg )
493493 let options = { } , filePath
0 commit comments