From 2cebd797014561ebc0bfee07ee8b5d83820adb66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 26 Jul 2018 10:45:10 +0200 Subject: Fix last commit --- server/helpers/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/helpers/utils.ts') diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index 7ff1556e3..cfb427570 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts @@ -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 } -- cgit v1.2.3