@@ -308,7 +308,7 @@ angular
308
308
* <pre>
309
309
* {
310
310
* id: 'learning_dataset',
311
- * type: 'upload_dataset ',
311
+ * type: 'uploaded_dataset ',
312
312
* created_at: '2014-12-14T15:09:08.112Z',
313
313
* updated_at: '2014-12-14T15:08:57.970Z',
314
314
* name: 'Learning dataset',
@@ -431,7 +431,7 @@ angular
431
431
* header: true,
432
432
* separator: '\t',
433
433
* data_file: { filename: 'source.csv' },
434
- * type: 'upload_dataset '
434
+ * type: 'uploaded_dataset '
435
435
* }
436
436
* </pre>
437
437
*
@@ -487,7 +487,7 @@ angular
487
487
return Sources . create ( source )
488
488
. then ( function ( source ) {
489
489
return self . create ( {
490
- type : 'upload_dataset ' ,
490
+ type : 'uploaded_dataset ' ,
491
491
name : fileName ,
492
492
source_ids : [ source . id ] ,
493
493
data_file : { filename : fileName }
@@ -738,7 +738,7 @@ angular
738
738
* @return {Boolean } <kbd>true</kbd> / <kbd>false</kbd>
739
739
*/
740
740
this . isParent = function ( dataset ) {
741
- return Boolean ( dataset . type === 'upload_dataset ' ) ;
741
+ return Boolean ( dataset . type === 'uploaded_dataset ' ) ;
742
742
} ;
743
743
744
744
/**
0 commit comments