9 lines
333 B
TypeScript
Executable File
9 lines
333 B
TypeScript
Executable File
import type { FrontendModuleSettings } from '@n8n/api-types';
|
|
|
|
import type { IRestApiContext } from '../types';
|
|
import { makeRestApiRequest } from '../utils';
|
|
|
|
export async function getModuleSettings(context: IRestApiContext): Promise<FrontendModuleSettings> {
|
|
return await makeRestApiRequest(context, 'GET', '/module-settings');
|
|
}
|