core: fix owner of builtin domain (#38)

This commit is contained in:
undefined authored and GitHub committed 2020-12-29 14:47:18 +08:00
1 parent 1e0bd7543c
commit 722d964c5e
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ const scripts: UpgradeScript[] = [
// Init
async function _0_1() {
const ddoc = await domain.get('system');
if (!ddoc) await domain.add('system', 0, 'Hydro', 'Hydro System');
if (!ddoc) await domain.add('system', 1, 'Hydro', 'Hydro System');
// TODO discussion node?
return true;
},