Skip to content
Snippets Groups Projects
Unverified Commit 347a37e8 authored by Ricardo Garim's avatar Ricardo Garim Committed by GitHub
Browse files

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
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');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment