File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -71,16 +71,19 @@ OptableSDK.prototype.ingestTopics = function () {
71
71
return ;
72
72
}
73
73
74
- const traits = topics . reduce ( ( acc , topic ) => {
75
- const traitKey = `topics_v${ topic . taxonomyVersion } ` ;
76
- if ( acc [ traitKey ] ) {
77
- acc [ traitKey ] += "," ;
78
- } else {
79
- acc [ traitKey ] = "" ;
80
- }
81
- acc [ traitKey ] += String ( topic . topic ) ;
82
- return acc ;
83
- } , { } as Record < string , string > ) ;
74
+ const traits = topics . reduce (
75
+ ( acc , topic ) => {
76
+ const traitKey = `topics_v${ topic . taxonomyVersion } ` ;
77
+ if ( acc [ traitKey ] ) {
78
+ acc [ traitKey ] += "," ;
79
+ } else {
80
+ acc [ traitKey ] = "" ;
81
+ }
82
+ acc [ traitKey ] += String ( topic . topic ) ;
83
+ return acc ;
84
+ } ,
85
+ { } as Record < string , string >
86
+ ) ;
84
87
85
88
this . profile ( traits ) ;
86
89
} )
You can’t perform that action at this time.
0 commit comments