You've already forked obsidian-visualiser
Project list and starting editing
This commit is contained in:
@@ -3,8 +3,8 @@ import useDatabase from '~/composables/useDatabase';
|
||||
export default defineEventHandler(async (e) => {
|
||||
const project = getRouterParam(e, "projectId");
|
||||
|
||||
const where = ["project = $project"];
|
||||
const criteria: Record<string, any> = { $project: project };
|
||||
const where = ["id = $id"];
|
||||
const criteria: Record<string, any> = { $id: project };
|
||||
|
||||
if (!!project) {
|
||||
const db = useDatabase();
|
||||
|
||||
Reference in New Issue
Block a user