diff --git a/lib/screens/monitoring/wind_speed/blocs/wind_speed_bloc.dart b/lib/screens/monitoring/wind_speed/blocs/wind_speed_bloc.dart index eda80ab..236d769 100644 --- a/lib/screens/monitoring/wind_speed/blocs/wind_speed_bloc.dart +++ b/lib/screens/monitoring/wind_speed/blocs/wind_speed_bloc.dart @@ -53,7 +53,7 @@ class WindSpeedBloc extends Bloc { final deviceId = await _getDeviceId(); final history = await _repository.getSensorHistory( - 'anemometer/esp_percobaan/history', + 'anemometer/$deviceId/history', (json) => MyWindSpeed.fromJson(json), );