We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ae4de commit 245e9caCopy full SHA for 245e9ca
1 file changed
src/index.js
@@ -333,8 +333,10 @@ settle.merchant = settle.merchant || {
333
return requestPromise('GET', `shortlink/${shortLinkId}/`)
334
.then((result) => result, (error) => error);
335
},
336
- update(shortLinkId, content) {
337
- return requestPromise('PUT', `shortlink/${shortLinkId}/`, content)
+ update(shortLinkId, callbackUri) {
+ return requestPromise('PUT', `shortlink/${shortLinkId}/`, {
338
+ callback_uri: callbackUri,
339
+ })
340
341
342
delete(shortLinkId) {
0 commit comments