mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 18:27:09 +02:00
9 lines
333 B
TypeScript
9 lines
333 B
TypeScript
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');
|
|
}
|