forked from boos/BoosAPI
[codex] rename site API request wording (#423)
* rename site api request wording * replace real site example domains
This commit is contained in:
@@ -191,7 +191,7 @@ describe('buildSiteSaveAction', () => {
|
||||
])).toEqual({
|
||||
valid: false,
|
||||
apiEndpoints: [],
|
||||
error: 'AI 请求地址 "https://api.example.com" 重复了',
|
||||
error: 'API 请求地址 "https://api.example.com" 重复了',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -225,7 +225,7 @@ export function serializeSiteApiEndpoints(fields: SiteApiEndpointField[]): {
|
||||
return {
|
||||
valid: false,
|
||||
apiEndpoints: [],
|
||||
error: `AI 请求地址 "${normalizedUrl}" 重复了`,
|
||||
error: `API 请求地址 "${normalizedUrl}" 重复了`,
|
||||
};
|
||||
}
|
||||
seen.add(normalizedUrl);
|
||||
|
||||
Reference in New Issue
Block a user