From b2cc66721b496b006ac249f6b74f2e1769191525 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 17 Aug 2019 18:32:58 -0400 Subject: [PATCH] Fix example --- angel_orm_generator/example/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angel_orm_generator/example/main.dart b/angel_orm_generator/example/main.dart index 7651e8f9..2a19b3c8 100644 --- a/angel_orm_generator/example/main.dart +++ b/angel_orm_generator/example/main.dart @@ -33,7 +33,7 @@ class _FakeExecutor extends QueryExecutor { } @override - Future transaction(FutureOr Function() f) { + Future transaction(FutureOr Function(QueryExecutor) f) { throw new UnsupportedError('Transactions are not supported.'); } }