add mising API call

This commit is contained in:
root
2021-06-06 20:15:33 +00:00
parent bdaa1d045b
commit f1673eab29

View File

@@ -157,7 +157,7 @@ function showError(msg) {
function loadAgreements(method, address, cb) {
var xhr1 = new XMLHttpRequest();
xhr1.open('GET', "/v1/agreement/" + method + "/" + address);
xhr1.open('GET', "/v1/agreements/" + method + "/" + address);
xhr1.setRequestHeader("X-Bunker-Token", xtoken)
xhr1.setRequestHeader('Content-type', 'application/json');
xhr1.onload = function () {