Skip to content

Commit

Permalink
fix: fix create system app error (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyoct authored Aug 9, 2022
1 parent 1228f76 commit 25bef9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/system-server/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ async function main() {
logger.info('start system extension server app')

// init system app route
let rt = await createApplicationRoute(app.name, app.appid, 0)
const finalApp = await getApplicationByAppid(Config.SYSTEM_EXTENSION_APPID)
let rt = await createApplicationRoute(finalApp.name, finalApp.appid, 0)
if (!rt) {
logger.error('Error: create route failed')
}
Expand Down

0 comments on commit 25bef9e

Please sign in to comment.