Simplify interest methods
cgen-174172ff7b4446069ddbb1192c503f53
This commit is contained in:
parent
a57f0588e9
commit
4fe07bc717
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue