Skip to content

Commit

Permalink
fix type in supabase services
Browse files Browse the repository at this point in the history
  • Loading branch information
dungngminh committed Feb 25, 2024
1 parent b36c69c commit 27970d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/project_database_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,7 @@ class ProjectDatabaseService {
Future<List<AppCreatyProject>> getProjects(AppCreatyCreator user) async {
final results = await _supabaseClient
.from(_projectTable)
.select<List<Map<String, dynamic>>>()
.select()
.eq('created_by->>id', user.id);
return results.map<AppCreatyProject>(AppCreatyProject.fromJson).toList();
}
Expand Down

1 comment on commit 27970d9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.