diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-16 18:32:57 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-16 18:32:57 -0400 |
commit | b29a0d1cef60b55f609fcd94ad38232ae557e681 (patch) | |
tree | 3b2cf48d0ac27582da8603ca7f614b68f874ab0c /src/server/authentication/models/current_user_utils.ts | |
parent | 179200777d8d283509bc81ea1318c1f51c2251ce (diff) |
Fixed linter errors
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r-- | src/server/authentication/models/current_user_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts index 5b63ac356..aef2d3f4a 100644 --- a/src/server/authentication/models/current_user_utils.ts +++ b/src/server/authentication/models/current_user_utils.ts @@ -66,7 +66,7 @@ export class CurrentUserUtils { NorthstarSettings.Instance.UpdateEnvironment(await getEnvironment.json()); await Gateway.Instance.ClearCatalog(); const extraSchemas = Cast(CurrentUserUtils.UserDocument.DBSchemas, listSpec("string"), []); - let extras = await Promise.all(extraSchemas.map(async sc => await Gateway.Instance.GetSchema("", sc))); + let extras = await Promise.all(extraSchemas.map(sc => Gateway.Instance.GetSchema("", sc))); let catprom = CurrentUserUtils.SetNorthstarCatalog(await Gateway.Instance.GetCatalog(), extras); if (catprom) await Promise.all(catprom); } catch (e) { |