adding check on backend

This commit is contained in:
Martin McKeaveney 2021-11-26 15:27:37 +01:00
parent a33204e4cf
commit 4b79045dac
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) || {}
}
/**