From 682e1549f855b825feb6f1c2a3759626e88eee08 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 22 Mar 2026 13:03:54 +0200 Subject: [PATCH] fix(standalone): failing due to type error --- packages/trilium-core/src/routes/api/attributes.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/trilium-core/src/routes/api/attributes.ts b/packages/trilium-core/src/routes/api/attributes.ts index 9fd46aa1d7..aea732295b 100644 --- a/packages/trilium-core/src/routes/api/attributes.ts +++ b/packages/trilium-core/src/routes/api/attributes.ts @@ -1,4 +1,4 @@ -import { UpdateAttributeResponse, ValidationError } from "@triliumnext/commons"; +import { UpdateAttributeResponse } from "@triliumnext/commons"; import type { Request } from "express"; import becca from "../../becca/becca.js"; @@ -6,6 +6,7 @@ import BAttribute from "../../becca/entities/battribute.js"; import attributeService from "../../services/attributes.js"; import { getLog } from "../../services/log.js"; import { getSql } from "../../services/sql/index.js"; +import { ValidationError } from "../../errors.js"; function getEffectiveNoteAttributes(req: Request<{ noteId: string }>) { const note = becca.getNote(req.params.noteId);