Skip to content

Commit df9b25c

Browse files
committed
fix: update return value of select function
1 parent 52cb1bf commit df9b25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/api/queries/groups.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function groupsByUserId(organizationId: string) {
5858
});
5959
}
6060

61-
return userIdMapper;
61+
return userIdMapper as GroupsByUserId;
6262
},
6363
} satisfies UseQueryOptions<Group[], unknown, GroupsByUserId>;
6464
}

0 commit comments

Comments
 (0)