add trilium-notes-service

This commit is contained in:
David Mydlarz
2022-09-08 17:32:11 +09:00
parent ab07adb14f
commit 1f40c2ccf8
8 changed files with 97 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ export const includeServices: any = {
glitchTip: true,
searxng: true,
weblate: true,
taiga: true
taiga: true,
};
export async function configureServiceType({
id,
@@ -350,6 +350,13 @@ export async function configureServiceType({
}
}
});
} else if (type === 'trilium') {
await prisma.service.update({
where: { id },
data: {
type
}
});
} else {
await prisma.service.update({
where: { id },