Skip to content

Commit

Permalink
fix: nav items expect to be of type array (#6813)
Browse files Browse the repository at this point in the history
Co-authored-by: Mangaokaku <[email protected]>
  • Loading branch information
MangaOtaku and Mangaokaku authored Nov 4, 2023
1 parent b7d2547 commit f0bb48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/sites.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class Site extends Model {
await WIKI.db.navigation.query().insert({
id: newSite.id,
siteId: newSite.id,
items: JSON.stringify([])
items: []
})

WIKI.logger.debug(`Creating new DB storage for site ${newSite.id}`)
Expand Down

0 comments on commit f0bb48c

Please sign in to comment.