Skip to content

Commit 0a1f667

Browse files
committed
fix uploaded_dataset type (was upload_dataset)
1 parent 41fb28e commit 0a1f667

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

dist/predicsis-jsSDK.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ angular
308308
* <pre>
309309
* {
310310
* id: 'learning_dataset',
311-
* type: 'upload_dataset',
311+
* type: 'uploaded_dataset',
312312
* created_at: '2014-12-14T15:09:08.112Z',
313313
* updated_at: '2014-12-14T15:08:57.970Z',
314314
* name: 'Learning dataset',
@@ -431,7 +431,7 @@ angular
431431
* header: true,
432432
* separator: '\t',
433433
* data_file: { filename: 'source.csv' },
434-
* type: 'upload_dataset'
434+
* type: 'uploaded_dataset'
435435
* }
436436
* </pre>
437437
*
@@ -487,7 +487,7 @@ angular
487487
return Sources.create(source)
488488
.then(function(source) {
489489
return self.create({
490-
type: 'upload_dataset',
490+
type: 'uploaded_dataset',
491491
name: fileName,
492492
source_ids: [source.id],
493493
data_file: { filename: fileName }
@@ -738,7 +738,7 @@ angular
738738
* @return {Boolean} <kbd>true</kbd> / <kbd>false</kbd>
739739
*/
740740
this.isParent = function(dataset) {
741-
return Boolean(dataset.type === 'upload_dataset');
741+
return Boolean(dataset.type === 'uploaded_dataset');
742742
};
743743

744744
/**

0 commit comments

Comments
 (0)