fix: include school_id in bootstrap profile select query
Some checks failed
api-ci-deploy / test-build-deploy (push) Has been cancelled
Some checks failed
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 <noreply@anthropic.com>
This commit is contained in:
parent
3711b52ea4
commit
4b296cff74
@ -160,7 +160,7 @@ class BootstrapService:
|
||||
try:
|
||||
result = (
|
||||
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)
|
||||
.single()
|
||||
.execute()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user