Simplify interest methods

cgen-174172ff7b4446069ddbb1192c503f53
This commit is contained in:
Builder.io 2025-10-04 21:42:43 +00:00
parent a57f0588e9
commit 4fe07bc717

View file

@ -423,11 +423,6 @@ export const aethexUserService = {
},
async addUserInterests(userId: string, interests: string[]): Promise<void> {
if (!isSupabaseConfigured) {
fallbackInterests.set(userId, Array.from(new Set(interests)));
return;
}
ensureSupabase();
await supabase
@ -456,10 +451,6 @@ export const aethexUserService = {
},
async getUserInterests(userId: string): Promise<string[]> {
if (!isSupabaseConfigured) {
return fallbackInterests.get(userId) ?? [];
}
ensureSupabase();
const { data, error } = await supabase