Skip to content

Commit 449dfea

Browse files
eddiezaneJimmy Hickey
authored andcommitted
Add an empty object to model eval post
1 parent 7984986 commit 449dfea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class Model {
8686
let url = `${this._config.basePath}${replaceVars(MODEL_VERSION_METRICS_PATH, [this.id, this.versionId])}`;
8787
return wrapToken(this._config, (headers) => {
8888
return new Promise((resolve, reject) => {
89-
axios.post(url, null, {headers}).then((response) => {
89+
axios.post(url, {}, {headers}).then((response) => {
9090
if (isSuccess(response)) {
9191
resolve(new ModelVersion(this._config, response.data.model_version));
9292
} else {

0 commit comments

Comments
 (0)