Send warning to accounts when we can't update pin limit
This commit is contained in:
parent
198786ed90
commit
ba74fc8d4f
@ -126,12 +126,12 @@ define([
|
||||
} else if (data.cmd === 'UPDATE_LIMIT') {
|
||||
return void whenReady(function () {
|
||||
if (rpcError) {
|
||||
// XXX
|
||||
// Tell the user on accounts that there was an issue and they need to wait maximum 24h or contact an admin
|
||||
ret.warning = true;
|
||||
}
|
||||
rpc.updatePinLimits(function (e, limit, plan, note) {
|
||||
if (e) {
|
||||
// XXX same as above
|
||||
ret.warning = true;
|
||||
}
|
||||
ret.res = [limit, plan, note];
|
||||
srcWindow.postMessage(JSON.stringify(ret), domain);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user