mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-03 03:17:45 +00:00
add mising API call
This commit is contained in:
@@ -157,7 +157,7 @@ function showError(msg) {
|
|||||||
|
|
||||||
function loadAgreements(method, address, cb) {
|
function loadAgreements(method, address, cb) {
|
||||||
var xhr1 = new XMLHttpRequest();
|
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("X-Bunker-Token", xtoken)
|
||||||
xhr1.setRequestHeader('Content-type', 'application/json');
|
xhr1.setRequestHeader('Content-type', 'application/json');
|
||||||
xhr1.onload = function () {
|
xhr1.onload = function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user