Skip to content

Commit

Permalink
update examples (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroMaglione committed Mar 25, 2024
1 parent 24449a3 commit 07bfa82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/fpdart_http/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:http/http.dart' as http;
import 'api.dart';

void main() async {
final main = await get(
await get(
Uri.https("pokeapi.co", "/api/v2/pokemon/10"),
)
.tap(
Expand Down
2 changes: 1 addition & 1 deletion examples/poke_api/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void main() async {
() => print("No pokemon: $error"),
),
)
.runFutureExit((Http(), JsonCodec()));
.provide((Http(), JsonCodec())).runFutureExit();

print(exit);
}

0 comments on commit 07bfa82

Please sign in to comment.