Fix items to be of type array

pull/6813/head
Mangaokaku 1 year ago
parent b7d25473c6
commit 2648f2c145

@ -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