The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/server/services/settings/service.ts

13 lines
486 B

import type { ISettingsService } from '@rocket.chat/core-services';
import { ServiceClassInternal } from '@rocket.chat/core-services';
import type { SettingValue } from '@rocket.chat/core-typings';
import { settings } from '../../../app/settings/server';
export class SettingsService extends ServiceClassInternal implements ISettingsService {
protected name = 'settings';
async get<T extends SettingValue>(settingId: string): Promise<T> {
return settings.get<T>(settingId);
}
}