You've already forked obsidian-visualiser
New SQL tables structure
This commit is contained in:
@@ -11,7 +11,7 @@ export default defineEventHandler(async (e) => {
|
||||
}
|
||||
|
||||
const db = useDatabase();
|
||||
const old = db.select().from(characterTable).where(eq(characterTable.id, parseInt(id))).get();
|
||||
const old = db.select().from(characterTable).where(eq(characterTable.id, parseInt(id, 10))).get();
|
||||
|
||||
if(!old)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user