Comment log

This commit is contained in:
MartinBraquet
2025-10-25 23:00:46 +02:00
parent 8fd906223c
commit d511e4a75c

View File

@@ -4,7 +4,7 @@ import { User } from 'common/user'
export type ProfileRow = Row<'profiles'>
export type Profile = ProfileRow & { user: User }
export const getProfileRow = async (userId: string, db: SupabaseClient) => {
console.debug('getProfileRow', userId)
// console.debug('getProfileRow', userId)
const res = await run(db.from('profiles').select('*').eq('user_id', userId))
return res.data[0]
}