mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: fix owner of builtin domain (#38)
This commit is contained in:
1 parent
1e0bd7543c
commit
722d964c5e
1 file changed
+1
-1
@@ -22,7 +22,7 @@ const scripts: UpgradeScript[] = [
|
|||||||
// Init
|
// Init
|
||||||
async function _0_1() {
|
async function _0_1() {
|
||||||
const ddoc = await domain.get('system');
|
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?
|
// TODO discussion node?
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user