mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-02 05:47:09 -05:00
Comment log
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user