phpList / rest-api

This module is the REST API for phpList, powered by phpList 4
https://www.phplist.com/
GNU Affero General Public License v3.0
22 stars 12 forks source link

Add 'extra_data' field to subscribers api to match Subscriber model #138

Open nicprov opened 3 years ago

nicprov commented 3 years ago

Summary

An addition to the subscriber api endpoint to add 'extra_data' as a valid parameter in the json body. This field was a key field missing from the Subscriber model.

Unit test

Are your changes covered with unit tests, and do they not break anything?

Does not break anything. Unit tests were added.

Code style

No big code changes. Code style is consistent.

Other Information

Nothing much, it's a very small change.