Skip to content

Commit

Permalink
fix supabase provider tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tshedor committed Oct 28, 2024
1 parent 74a3b10 commit ed3cea0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ class SupabaseMockServer {
final asMap = Map<String, dynamic>.from(matchingRequest.value.data);
if (asMap.containsKey('payload') && asMap['payload'] != null) {
resp.write(jsonEncode([]));
} else {
resp.write(jsonEncode(matchingRequest.value.data));
}
}
return resp;
Expand Down

0 comments on commit ed3cea0

Please sign in to comment.