6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 70e27618
Changed files
comwell_key_app/lib/contact/cubit/contact_cubit.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Diff
diff --git a/comwell_key_app/lib/contact/cubit/contact_cubit.dart b/comwell_key_app/lib/contact/cubit/contact_cubit.dart
index 2d7afab3..99fd1a5a 100644
--- a/comwell_key_app/lib/contact/cubit/contact_cubit.dart
+++ b/comwell_key_app/lib/contact/cubit/contact_cubit.dart
@@ -14,7 +14,7 @@ class ContactCubit extends Cubit<ContactState> {
void sendContact(String hotelCode) async {
emit(const ContactState.contactSend());
try {
- Bookings bookings = await overviewRepository.fetchAllBookingsForUser('1');
+ final bookings = await overviewRepository.fetchAllBookingsForUser('1');
// Send contact
contactRepository.sendContact(bookings.current[0].hotelCode);
emit(const ContactState.contactSent());