Skip to content

Commit 08bc1ae

Browse files
committed
modified Overledger.app to add instance selection between Sandbox and Live Overledger - altered basURL in hook methods create and delete
1 parent 9dff018 commit 08bc1ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/overledger/overledger.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
}) {
8888
return this._makeRequest({
8989
method: "POST",
90-
baseUrl: this._baseUrl(),
90+
baseUrl: this._getBaseUrl(),
9191
path: `/api/webhooks/${path}`,
9292
...opts,
9393
});
@@ -97,7 +97,7 @@ export default {
9797
}) {
9898
return this._makeRequest({
9999
method: "DELETE",
100-
baseUrl: this._baseUrl(),
100+
baseUrl: this._getBaseUrl(),
101101
path: `/api/webhooks/${path}/${webhookId}`,
102102
});
103103
},

0 commit comments

Comments
 (0)