Matrix Version:5.3.4
Hello all … I am trying to use Javascript API getLocksInfo() to get information about locks hold on an asset but it doesn’t seem that I get correct return value.
The lock is currently hold by UAT One user but getLocksInfo() returns value saying that no one holds lock on the asset (screenshot below).
Here is the code I use:
js_api.getLocksInfo({
"asset_id":"1696543",
"screen_name":"settings",
"dataCallback":function(data) { console.log(data); }
});
What have I done wrong? cheers.