MCPcopy
hub / github.com/AstrBotDevs/AstrBot / rename

Function rename

dashboard/src/api/v1.ts:366–373  ·  view source on GitHub ↗
(configId: string, name: string | null)

Source from the content-addressed store, hash-verified

364 );
365 },
366 rename(configId: string, name: string | null) {
367 return typed<OpenConfig>(
368 openApiV1.renameConfigProfile({
369 path: { config_id: configId },
370 body: { name: name ?? '' },
371 }),
372 );
373 },
374 delete(configId: string) {
375 return typed<OpenConfig>(
376 openApiV1.deleteConfigProfile({ path: { config_id: configId } }),

Callers

nothing calls this directly

Calls 1

typedFunction · 0.85

Tested by

no test coverage detected