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:
parent
c1e791bad0
commit
2cebd79701
9 changed files with 24 additions and 19 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue