Use UUIDs for jsonrpc requestes
This commit is contained in:
parent
39ecd3a3d6
commit
993363d309
|
@ -63,7 +63,7 @@ function(_, JSON, name, utils, alerts) {
|
|||
invoke: function(opts) {
|
||||
var data = {
|
||||
jsonrpc: 2.0,
|
||||
id: name + '_' + utils.randStr(),
|
||||
id: utils.uuid(),
|
||||
method: opts.name,
|
||||
params: opts.params && opts.params.length ? opts.params : undefined
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user