fix: include school_id in bootstrap profile select query
api-ci-deploy / test-build-deploy (push) Has been cancelled
api-ci-deploy / test-build-deploy (push) Has been cancelled
The _get_profile select list omitted school_id, causing /me/bootstrap to always return null for that field even after the column was populated. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
3711b52ea4
commit
4b296cff74
@@ -160,7 +160,7 @@ class BootstrapService:
|
|||||||
try:
|
try:
|
||||||
result = (
|
result = (
|
||||||
self.supabase.table("profiles")
|
self.supabase.table("profiles")
|
||||||
.select("id,email,user_type,username,full_name,display_name,user_db_name,school_db_name")
|
.select("id,email,user_type,username,full_name,display_name,user_db_name,school_db_name,school_id")
|
||||||
.eq("id", user_id)
|
.eq("id", user_id)
|
||||||
.single()
|
.single()
|
||||||
.execute()
|
.execute()
|
||||||
|
|||||||
Reference in New Issue
Block a user