shorter error
This commit is contained in:
parent
9e51af0861
commit
85543d316d
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ export default class {
|
|||
async GetApplicationUser(appId: string, userIdentifier: string, entityManager = this.DB): Promise<ApplicationUser> {
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue