MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / editNewApiService

Function editNewApiService

static/js/settings.js:1835–1842  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1833}
1834
1835async function editNewApiService(id) {
1836 try {
1837 const service = await api.get(`/new-api-services/${id}`);
1838 openNewApiServiceModal(service);
1839 } catch (e) {
1840 toast.error('获取服务信息失败: ' + e.message);
1841 }
1842}
1843
1844async function handleSaveNewApiService(e) {
1845 e.preventDefault();

Callers

nothing calls this directly

Calls 3

openNewApiServiceModalFunction · 0.85
errorMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected