mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
chore(prettier): fix all files
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import server from './server.js';
|
||||
import froca from './froca.js';
|
||||
import FNote from '../entities/fnote.js';
|
||||
import { AttributeRow } from './load_results.js';
|
||||
import server from "./server.js";
|
||||
import froca from "./froca.js";
|
||||
import FNote from "../entities/fnote.js";
|
||||
import { AttributeRow } from "./load_results.js";
|
||||
|
||||
async function addLabel(noteId: string, name: string, value: string = "") {
|
||||
await server.put(`notes/${noteId}/attribute`, {
|
||||
type: 'label',
|
||||
type: "label",
|
||||
name: name,
|
||||
value: value
|
||||
});
|
||||
@@ -13,7 +13,7 @@ async function addLabel(noteId: string, name: string, value: string = "") {
|
||||
|
||||
async function setLabel(noteId: string, name: string, value: string = "") {
|
||||
await server.put(`notes/${noteId}/set-attribute`, {
|
||||
type: 'label',
|
||||
type: "label",
|
||||
name: name,
|
||||
value: value
|
||||
});
|
||||
@@ -68,4 +68,4 @@ export default {
|
||||
setLabel,
|
||||
removeAttributeById,
|
||||
isAffecting
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user