From 659bd566777f7284fa073bed5f6b348571a60fea Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 25 Jan 2026 17:49:15 -0500 Subject: [PATCH] fix: change relay auth_type to 'lab_token' to match CHECK constraint The lab_note_revisions table CHECK constraint only allows auth_type values: 'human_session','lab_token'. Changed from 'relay_session' to 'lab_token' since relay is effectively a token-based system. --- src/routes/relayRoutes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/relayRoutes.ts b/src/routes/relayRoutes.ts index e3ced5f..48636bb 100644 --- a/src/routes/relayRoutes.ts +++ b/src/routes/relayRoutes.ts @@ -182,7 +182,7 @@ export function registerRelayRoutes(app: Router, db: Database.Database) { JSON.stringify(["db"]), JSON.stringify(["create_note"]), 1, - "relay_session", + "lab_token", JSON.stringify([]) );