From 2a424f8b2cf32ceb2c838db66c67cc379641853f Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 25 Jan 2026 17:42:25 -0500 Subject: [PATCH] fix: change relay source to 'api' to match CHECK constraint The lab_note_revisions table has a CHECK constraint that only allows source values: 'cli','web','api','import'. Changed relay source from 'relay' to 'api' since relay is effectively an API endpoint. --- 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 0ae7647..e3ced5f 100644 --- a/src/routes/relayRoutes.ts +++ b/src/routes/relayRoutes.ts @@ -176,7 +176,7 @@ export function registerRelayRoutes(app: Router, db: Database.Database) { bodyMarkdown, contentHash, "0.1", - "relay", + "api", "voice_manifestation", "1", JSON.stringify(["db"]),