diff --git a/NodeApp/src/managers/GitlabManager.ts b/NodeApp/src/managers/GitlabManager.ts index fad38cc53a03179fdca2af5d87be448baccdef54..b24ab00b76fab46e3e5b9c887a88fee61a079cf3 100644 --- a/NodeApp/src/managers/GitlabManager.ts +++ b/NodeApp/src/managers/GitlabManager.ts @@ -32,7 +32,7 @@ class GitlabManager extends SharedGitlabManager { } try { - notificationSettings = (await this.getNotificationSettings()).data as NotificationSettings; + notificationSettings = await this.getNotificationSettings(); result[0] = true; diff --git a/NodeApp/src/managers/SessionManager.ts b/NodeApp/src/managers/SessionManager.ts index ef5bc6596c45a918839f99b93cdb4af870cb0ae4..27264fca7fbc84911ebd6db4cdb6e6e9ff5319c8 100644 --- a/NodeApp/src/managers/SessionManager.ts +++ b/NodeApp/src/managers/SessionManager.ts @@ -310,6 +310,13 @@ class SessionManager { return false; } + if ( checkPermissions && checkPermissions.length === 0 ) { + ora({ + text : `Here is your permissions:`, + indent: 4 + }).start().info(); + } + return this.checkPermissions(verbose, 8, checkPermissions); } } diff --git a/NodeApp/src/shared b/NodeApp/src/shared index 04b3a985a963b87aed586e6b06718dd3052ad32e..e1ffeb584f5c7805befd951cb82ca179eabcaabb 160000 --- a/NodeApp/src/shared +++ b/NodeApp/src/shared @@ -1 +1 @@ -Subproject commit 04b3a985a963b87aed586e6b06718dd3052ad32e +Subproject commit e1ffeb584f5c7805befd951cb82ca179eabcaabb