Format stuff

This commit is contained in:
Zoe Roux
2025-12-05 23:42:52 +01:00
parent 30f26b2f6a
commit 8109b7ada6
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export const insertStaff = record(
const rval = seed.map((x, i) => ({
showPk,
staffPk: ret.find(y => y.slug === x.staff.slug)!.pk,
staffPk: ret.find((y) => y.slug === x.staff.slug)!.pk,
kind: x.kind,
order: i,
character: {
+3 -1
View File
@@ -26,7 +26,9 @@ async def lifespan(_):
):
# there's no way someone else used the same id, right?
is_master = await db.fetchval("select pg_try_advisory_lock(198347)")
is_http = not is_master and await db.fetchval("select pg_try_advisory_lock(645633)")
is_http = not is_master and await db.fetchval(
"select pg_try_advisory_lock(645633)"
)
if is_http:
yield
return