@gravity-ai/api 1.1.2 → 1.1.4
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
|
@@ -138,7 +138,7 @@ var Client = class {
|
|
|
138
138
|
excludedTopics: params.excludedTopics ?? this.excludedTopics,
|
|
139
139
|
relevancy: params.relevancy ?? this.relevancy
|
|
140
140
|
};
|
|
141
|
-
const response = await this.axios.post("/api/v1/ad
|
|
141
|
+
const response = await this.axios.post("/api/v1/ad", body);
|
|
142
142
|
if (response.status === 204) {
|
|
143
143
|
return null;
|
|
144
144
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -102,7 +102,7 @@ var Client = class {
|
|
|
102
102
|
excludedTopics: params.excludedTopics ?? this.excludedTopics,
|
|
103
103
|
relevancy: params.relevancy ?? this.relevancy
|
|
104
104
|
};
|
|
105
|
-
const response = await this.axios.post("/api/v1/ad
|
|
105
|
+
const response = await this.axios.post("/api/v1/ad", body);
|
|
106
106
|
if (response.status === 204) {
|
|
107
107
|
return null;
|
|
108
108
|
}
|