- return createLocalAccount('peertube', null, applicationInstance.id, undefined)
+
+ const accountCreated = await createLocalAccountWithoutKeys(SERVER_ACCOUNT_NAME, null, applicationInstance.id, undefined)
+
+ const { publicKey, privateKey } = await createPrivateAndPublicKeys()
+ accountCreated.set('publicKey', publicKey)
+ accountCreated.set('privateKey', privateKey)
+
+ return accountCreated.save()