From 2268f0deb1c08f3561dc0effbd690190fe6f5ba0 Mon Sep 17 00:00:00 2001 From: dshukertjr Date: Tue, 30 Jul 2024 11:19:54 +0900 Subject: [PATCH] fix: minor type fix --- packages/supabase/lib/src/supabase_query_builder.dart | 3 +-- packages/supabase_flutter/test/widget_test_stubs.dart | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/supabase/lib/src/supabase_query_builder.dart b/packages/supabase/lib/src/supabase_query_builder.dart index 2ebaaef4..1c9b4bcb 100644 --- a/packages/supabase/lib/src/supabase_query_builder.dart +++ b/packages/supabase/lib/src/supabase_query_builder.dart @@ -1,5 +1,4 @@ import 'package:supabase/supabase.dart'; -import 'package:yet_another_json_isolate/yet_another_json_isolate.dart'; class SupabaseQueryBuilder extends PostgrestQueryBuilder { final RealtimeClient _realtime; @@ -11,7 +10,7 @@ class SupabaseQueryBuilder extends PostgrestQueryBuilder { String url, RealtimeClient realtime, { super.headers = const {}, - required super.schema, + required String super.schema, required String table, super.httpClient, required int incrementId, diff --git a/packages/supabase_flutter/test/widget_test_stubs.dart b/packages/supabase_flutter/test/widget_test_stubs.dart index 15de7c9c..fc3c4789 100644 --- a/packages/supabase_flutter/test/widget_test_stubs.dart +++ b/packages/supabase_flutter/test/widget_test_stubs.dart @@ -127,6 +127,7 @@ void mockAppLink({ const StandardMethodCodec().encodeSuccessEnvelope(initialLink), (ByteData? data) {}, ); + return null; }, ); }