1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Fix last commit

This commit is contained in:
Chocobozzz 2018-07-26 10:45:10 +02:00
parent c1e791bad0
commit 2cebd79701
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 24 additions and 19 deletions

View file

@ -144,7 +144,8 @@ let serverActor: ActorModel
async function getServerActor () {
if (serverActor === undefined) {
const application = await ApplicationModel.load()
if (!application) throw Error('Could not application.')
if (!application) throw Error('Could not load Application from database.')
serverActor = application.Account.Actor
}