use team redis keys to resolve team gated features

This commit is contained in:
Francis Cao committed 2026-03-21 11:21:07 -07:00
1 parent 0a4dcebed7
commit cd2b303e89
7 files changed
+58 -13

No files matched your search

+6
View File
@@ -44,3 +44,9 @@ export async function fetchAccount(userId: string) {
return account;
}
export async function fetchTeam(teamId: string) {
const team = await redis.client.get(`team:${teamId}`);
return team;
}