api/services/LineProtocolService.js
// TODO: Choose a correct naming/format for timestamp & timeUnit
Choose a correct naming/format for timestamp & timeUnit
Choose a correct naming / format for timestamp & timeUnit
toObject(namespace, value, timestamp, timeUnit) {
    return {
      namespace: namespace,
      value: value,
      timestamp: timestamp || moment().format('X'),
      timeUnit: timeUnit || '1h',
    }
  }
toObject ( namespace , value , timestamp , timeUnit ) { return { namespace : namespace , value : value , timestamp : timestamp || moment ( ) . format ( 'X' ) , timeUnit : timeUnit || '1h' , } }
TODO: Choose a correct naming/format for timestamp & timeUnit
TODO : Choose a correct naming / format for timestamp & timeUnit