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/setSettingValueById.ts

6 lines
261 B

import type { APIResponse } from '@playwright/test';
import type { BaseTest } from './test';
export const setSettingValueById = (api: BaseTest['api'], settingId: string, value: unknown): Promise<APIResponse> =>
api.post(`/settings/${settingId}`, { value });