mirror of
https://github.com/zadam/trilium.git
synced 2026-08-30 11:06:51 +02:00
fix(standalone): failing due to type error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user