MCPcopy
hub / github.com/HisMax/RedInk / updateConfig

Function updateConfig

frontend/src/api/config.ts:16–24  ·  view source on GitHub ↗
(config: Partial<Config>)

Source from the content-addressed store, hash-verified

14}
15
16export async function updateConfig(config: Partial<Config>): Promise<{
17 success: boolean
18 message?: string
19 error?: AppError | string
20 error_message?: string
21}> {
22 const response = await axios.post(`${API_BASE_URL}/config`, config)
23 return response.data
24}
25
26export async function testConnection(config: {
27 type: string

Callers 1

autoSaveConfigFunction · 0.90

Calls 1

postMethod · 0.80

Tested by

no test coverage detected