Skip to content

Commit 96d333a

Browse files
committed
QUICKFIX Actions DartToJS Compilation Error
1 parent bd013ba commit 96d333a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/src/functions/functions_repository.dart

+6-5
Original file line numberDiff line numberDiff line change
@@ -1211,11 +1211,12 @@ ${response.body.contains('{') ? const JsonEncoder.withIndent(' ').convert(json.
12111211
) async {
12121212
final ScopedValues scopedValues = ScopedValues.of(context);
12131213
return await switch (action.subAction) {
1214-
AddDocumentSubAction action => addDocumentToCloud(action, scopedValues),
1215-
UpdateDocumentSubAction action =>
1216-
updateDocumentOnCloud(action, scopedValues),
1217-
RemoveDocumentSubAction action =>
1218-
removeDocumentFromCloud(action, scopedValues),
1214+
AddDocumentSubAction addDocumentSubAction =>
1215+
addDocumentToCloud(addDocumentSubAction, scopedValues),
1216+
UpdateDocumentSubAction updateDocumentSubAction =>
1217+
updateDocumentOnCloud(updateDocumentSubAction, scopedValues),
1218+
RemoveDocumentSubAction removeDocumentSubAction =>
1219+
removeDocumentFromCloud(removeDocumentSubAction, scopedValues),
12191220
};
12201221
}
12211222

0 commit comments

Comments
 (0)