Update lib/contracts/proposal.js
Co-Authored-By: bumi <hello@michaelbumann.com>
This commit is contained in:
parent
d2198dca61
commit
e7e8744ad2
@ -38,7 +38,7 @@ class Proposal extends Record {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addProposal () {
|
addProposal () {
|
||||||
deprecate('The method: `addProposal` is deprecated use `add` instead');
|
deprecate('The function `addProposal()` is deprecated and will be removed in the next major version. Use `add()` instead');
|
||||||
return this.add(...arguments);
|
return this.add(...arguments);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user