Skip to content

Commit

Permalink
Update location_controller.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteLecat committed Dec 18, 2023
1 parent 2c02cae commit 36d8d0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LocationController extends StateNotifier<AsyncValue<void>> {
Future<void> generate(
{required String locationId, required WeatherOneCall weather}) async {
state = const AsyncLoading();
String token = await appUser.firebaseAppUser!.getIdToken();
String? token = await appUser.firebaseAppUser!.getIdToken();
String apiKey = "api_key";
String contentType = "application/json";
String timezoneString = weather.timezone!;
Expand Down

0 comments on commit 36d8d0b

Please sign in to comment.