mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix: sync admin by default on instance create
This commit is contained in:
parent
fa0285e13f
commit
a3a2f99044
@ -170,6 +170,7 @@ routerAdd(
|
||||
instance.set('subdomain', desiredInstanceName)
|
||||
instance.set('uid', user.get('id'))
|
||||
instance.set('status', 'idle')
|
||||
instance.set('syncAdmin', true)
|
||||
const { versions } = require(`${__hooks}/versions.js`)
|
||||
instance.set('version', versions[0])
|
||||
txDao.saveRecord(instance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user