mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-19 05:03:44 +02:00
fix: remove userId null error in AvailabilityViewModel
This commit is contained in:
parent
84fe794b4b
commit
fd2bef92ac
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class AvailabilityViewModel {
|
|||
);
|
||||
return AvailabilityModel(
|
||||
id: ids?.firstOrNull,
|
||||
userId: userId!,
|
||||
userId: userId ?? "",
|
||||
startDate: startDate,
|
||||
endDate: endDate,
|
||||
breaks: breaks.map((e) => e.toBreak()).toList(),
|
||||
|
|
Loading…
Reference in a new issue