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

Co-authored-by: Mangaokaku <davidmartin@vt.edu>
pull/7004/head
MangaOtaku 1 year ago committed by GitHub
parent b7d25473c6
commit f0bb48c9c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}`)

Loading…
Cancel
Save