File tree Expand file tree Collapse file tree
apps/api/src/instrument-records Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,9 @@ export class InstrumentRecordsService {
169169 instruments . set ( record . instrumentId , instrument ) ;
170170 }
171171 for ( const [ measureKey , measureValue ] of Object . entries ( record . computedMeasures ) ) {
172+ console . log ( typeof measureValue ) ;
172173 if ( Array . isArray ( measureValue ) ) {
174+ console . log ( 'here2' ) ;
173175 const objectRecord : RecordObject = {
174176 groupId : record . subject . groupIds [ 0 ] ?? DEFAULT_GROUP_NAME ,
175177 sessionDate : record . session . date . toISOString ( ) ,
@@ -471,7 +473,7 @@ export class InstrumentRecordsService {
471473 }
472474 return ok ( 'Success' ) ;
473475 } else {
474- return err ( 'Error interpretting array' ) ;
476+ return err ( 'Error interpreting array' ) ;
475477 }
476478 }
477479 private getInstrumentById ( instrumentId : string ) {
You can’t perform that action at this time.
0 commit comments