Update lib/contracts/proposal.js

Co-Authored-By: bumi <hello@michaelbumann.com>
This commit is contained in:
Basti 2019-05-01 18:06:55 +00:00 committed by GitHub
parent d2198dca61
commit e7e8744ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }
} }