From 298f268dbf3b7af8a6c18d8a2fa8bf2b275b5a5e Mon Sep 17 00:00:00 2001 From: Aleksey Konstantinov Date: Sat, 5 Mar 2022 18:30:29 +0300 Subject: [PATCH] Added empty data for event commitEdition method --- package-lock.json | 4 ++-- package.json | 2 +- src/http-event.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9482d9d..16b3152 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ulms/api-clients", - "version": "5.1.0", + "version": "5.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ulms/api-clients", - "version": "5.1.0", + "version": "5.2.0", "license": "MIT", "dependencies": { "events": "3.3.0", diff --git a/package.json b/package.json index 4577495..26bff7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/api-clients", - "version": "5.1.0", + "version": "5.2.0", "description": "JavaScript API clients for ULMS platform", "keywords": [], "homepage": "https://github.com/foxford/ulms-api-clients-js#readme", diff --git a/src/http-event.js b/src/http-event.js index d323c54..4d4335e 100644 --- a/src/http-event.js +++ b/src/http-event.js @@ -196,7 +196,7 @@ class HTTPEvent extends BasicClient { * @returns {Promise} */ commitEdition(id) { - return this.post(this.url(eventEndpoints.editionsCommit(id))) + return this.post(this.url(eventEndpoints.editionsCommit(id)), {}) } /**