Unverified Commit f0bb48c9 authored by MangaOtaku's avatar MangaOtaku Committed by GitHub

fix: nav items expect to be of type array (#6813)

Co-authored-by: 's avatarMangaokaku <davidmartin@vt.edu>
parent b7d25473
...@@ -152,7 +152,7 @@ export class Site extends Model { ...@@ -152,7 +152,7 @@ export class Site extends Model {
await WIKI.db.navigation.query().insert({ await WIKI.db.navigation.query().insert({
id: newSite.id, id: newSite.id,
siteId: newSite.id, siteId: newSite.id,
items: JSON.stringify([]) items: []
}) })
WIKI.logger.debug(`Creating new DB storage for site ${newSite.id}`) WIKI.logger.debug(`Creating new DB storage for site ${newSite.id}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment