I have been banging my head on this for awhile. I can't save an Article's state attribute. I get this error message when saving:
The backend rejected the commit because it was invalid: {state: is not included in the list}
I tried to fix it, going back and reading over the setup of the Article carefully, and found nothing. If I comment out the attribute in models/article.js itself, it works! I can save it. I have no idea what's going on.
What's even MORE weird is that if I ping my friends api (I'm using Postman), even if I didn't set the state attribute, it shows as being 'barrowed'. Is your API setting it? Am I missing something reeeeally obvious? haha. Thanks in advance.
I have been banging my head on this for awhile. I can't save an
Article
'sstate
attribute. I get this error message when saving:I tried to fix it, going back and reading over the setup of the
Article
carefully, and found nothing. If I comment out the attribute inmodels/article.js
itself, it works! I can save it. I have no idea what's going on.Here is my repo. Can anyone help?
Edit:
What's even MORE weird is that if I ping my friends api (I'm using Postman), even if I didn't set the state attribute, it shows as being 'barrowed'. Is your API setting it? Am I missing something reeeeally obvious? haha. Thanks in advance.