框架优化

This commit is contained in:
liamzi
2024-12-25 18:34:20 +08:00
parent ac0f7ccbb7
commit a6a4cbb337
28 changed files with 56 additions and 117 deletions

View File

@@ -10,7 +10,7 @@ export const useTeamMembership = (teamId) => {
setLoading(true);
try {
const result = await supabaseService.get('team_memberships', {
const result = await SupabaseService.select('team_memberships', {
select: '*',
relations: {
user: 'id, email, name'