Skip to content

Commit d0889bd

Browse files
hardbyteCopilot
andauthored
Update app/api/schools.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1e44188 commit d0889bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/schools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def get_school_bookbot_type(
227227
result = {
228228
"name": school.name,
229229
"type": school.bookbot_type,
230-
"experiments": school.info["experiments"],
230+
"experiments": (school.info or {}).get("experiments", {}),
231231
"supporter": school.subscription is not None and school.subscription.is_active,
232232
}
233233

0 commit comments

Comments
 (0)