fix: correct rock post signature

This commit is contained in:
nanov 2024-04-30 03:05:31 +03:00
parent bc4b33f7e4
commit ba997d312b

View File

@ -215,9 +215,9 @@ module.exports = class Client {
.data(r) .data(r)
.persist(); .persist();
rock.post( rock({
this.url, method: 'POST',
{ url: this.url,
body: r, body: r,
headers: { 'content-type': 'text/xml;charset=UTF-8' }, headers: { 'content-type': 'text/xml;charset=UTF-8' },
}, },