adding check on backend

This commit is contained in:
Martin McKeaveney 2021-11-26 15:27:37 +01:00
parent e5270a66fc
commit 717861d2c7
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ exports.setInitInfo = ctx => {
}
exports.getInitInfo = ctx => {
ctx.body = getCookie(ctx, Cookies.Init)
ctx.body = getCookie(ctx, Cookies.Init) || {}
}
/**