@aicats/sdk 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -124,7 +124,7 @@ async function getSearchCompletion(options = {}) {
|
|
|
124
124
|
return data.completion;
|
|
125
125
|
}
|
|
126
126
|
async function getThemes() {
|
|
127
|
-
const response = await fetch(`${ApiUrl}/cat/
|
|
127
|
+
const response = await fetch(`${ApiUrl}/cat/theme-list`);
|
|
128
128
|
if (!response.ok) {
|
|
129
129
|
throw new Error(`Error fetching themes: ${response.statusText}`);
|
|
130
130
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -96,7 +96,7 @@ async function getSearchCompletion(options = {}) {
|
|
|
96
96
|
return data.completion;
|
|
97
97
|
}
|
|
98
98
|
async function getThemes() {
|
|
99
|
-
const response = await fetch(`${ApiUrl}/cat/
|
|
99
|
+
const response = await fetch(`${ApiUrl}/cat/theme-list`);
|
|
100
100
|
if (!response.ok) {
|
|
101
101
|
throw new Error(`Error fetching themes: ${response.statusText}`);
|
|
102
102
|
}
|