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/tests/e2e/utils/getSettingValueById.ts

7 lines
266 B

import type { BaseTest } from './test';
export const getSettingValueById = async (api: BaseTest['api'], settingId: string): Promise<unknown> => {
const response = await api.get(`/settings/${settingId}`);
const { value } = await response.json();
return value;
};