Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
347a37e8
Unverified
Commit
347a37e8
authored
6 months ago
by
Ricardo Garim
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: remove notifyListener call that was causing startup issues (#33154)
parent
5cbbb458
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/meteor/server/startup/cloudRegistration.ts
+1
-4
1 addition, 4 deletions
apps/meteor/server/startup/cloudRegistration.ts
with
1 addition
and
4 deletions
apps/meteor/server/startup/cloudRegistration.ts
+
1
−
4
View file @
347a37e8
import
{
Settings
}
from
'
@rocket.chat/models
'
;
import
{
notifyOnSettingChangedById
}
from
'
../../app/lib/server/lib/notifyListener
'
;
export
async
function
ensureCloudWorkspaceRegistered
():
Promise
<
void
>
{
const
cloudWorkspaceClientId
=
await
Settings
.
getValueById
(
'
Cloud_Workspace_Client_Id
'
);
const
cloudWorkspaceClientSecret
=
await
Settings
.
getValueById
(
'
Cloud_Workspace_Client_Secret
'
);
...
...
@@ -18,6 +16,5 @@ export async function ensureCloudWorkspaceRegistered(): Promise<void> {
}
// otherwise, set the setup wizard to in_progress forcing admins to complete the registration
(
await
Settings
.
updateValueById
(
'
Show_Setup_Wizard
'
,
'
in_progress
'
)).
modifiedCount
&&
void
notifyOnSettingChangedById
(
'
Show_Setup_Wizard
'
);
await
Settings
.
updateValueById
(
'
Show_Setup_Wizard
'
,
'
in_progress
'
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment