Skip to content

Commit

Permalink
Fix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Sep 21, 2023
1 parent 9e10311 commit d306ba0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { LICENSE_VERSION } from '../license';

type WorkspaceRegistrationData<T> = {
uniqueId: string;
deploymentFingerprintHash: string;
deploymentFingerprintVerified: boolean;
deploymentFingerprintHash: SettingValue;
deploymentFingerprintVerified: SettingValue;
workspaceId: SettingValue;
address: SettingValue;
contactName: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export default {
_id: '',
wizard: {},
uniqueId: '',
deploymentFingerprintHash: '',
deploymentFingerprintVerified: true,
installedAt: '',
version: '1.0.0',
tag: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export default {
_id: '',
wizard: {},
uniqueId: '',
deploymentFingerprintHash: '',
deploymentFingerprintVerified: true,
installedAt: '',
version: '',
tag: '',
Expand Down
2 changes: 2 additions & 0 deletions apps/meteor/client/views/admin/info/UsageCard.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default {
_id: '',
wizard: {},
uniqueId: '',
deploymentFingerprintHash: '',
deploymentFingerprintVerified: true,
installedAt: '',
version: '',
tag: '',
Expand Down
3 changes: 2 additions & 1 deletion apps/meteor/server/configureLogLevel.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { LogLevelSetting } from '@rocket.chat/logger';
import { logLevel } from '@rocket.chat/logger';
import { Settings } from '@rocket.chat/models';

const LogLevel = await Settings.getValueById('Log_Level');
if (LogLevel) {
logLevel.emit('changed', LogLevel);
logLevel.emit('changed', LogLevel as LogLevelSetting);
}

0 comments on commit d306ba0

Please sign in to comment.