From 85543d316df44de206202e448d8faa4081bcbb42 Mon Sep 17 00:00:00 2001 From: hatim Date: Mon, 8 May 2023 22:38:29 +0200 Subject: [PATCH] shorter error --- src/services/storage/applicationStorage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/storage/applicationStorage.ts b/src/services/storage/applicationStorage.ts index 6ce542e5..218b3bb6 100644 --- a/src/services/storage/applicationStorage.ts +++ b/src/services/storage/applicationStorage.ts @@ -62,7 +62,7 @@ export default class { async GetApplicationUser(appId: string, userIdentifier: string, entityManager = this.DB): Promise { const found = await this.GetApplicationUserIfExists(appId, userIdentifier, entityManager) if (!found) { - throw new Error(`application user ${userIdentifier} not found`) + throw new Error(`application user not found`) } if (found.application.app_id !== appId) {