oke
This commit is contained in:
parent
aa530a5d09
commit
d7db4ece12
|
|
@ -53,7 +53,7 @@ class WindSpeedBloc extends Bloc<WindSpeedEvent, WindSpeedState> {
|
|||
final deviceId = await _getDeviceId();
|
||||
|
||||
final history = await _repository.getSensorHistory(
|
||||
'anemometer/esp_percobaan/history',
|
||||
'anemometer/$deviceId/history',
|
||||
(json) => MyWindSpeed.fromJson(json),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue