Skip to content

Commit 245e9ca

Browse files
committed
patch
1 parent 09ae4de commit 245e9ca

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,10 @@ settle.merchant = settle.merchant || {
333333
return requestPromise('GET', `shortlink/${shortLinkId}/`)
334334
.then((result) => result, (error) => error);
335335
},
336-
update(shortLinkId, content) {
337-
return requestPromise('PUT', `shortlink/${shortLinkId}/`, content)
336+
update(shortLinkId, callbackUri) {
337+
return requestPromise('PUT', `shortlink/${shortLinkId}/`, {
338+
callback_uri: callbackUri,
339+
})
338340
.then((result) => result, (error) => error);
339341
},
340342
delete(shortLinkId) {

0 commit comments

Comments
 (0)