-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] POST subscriptions route #129
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @macolu :)
just tested this and it works great :)
Could you rebase against master, please @macolu? :) |
666e320
to
030325b
Compare
@xh3n1 done :) |
Confirmed working to add a subscriber to a single list. |
I'm not part of the team, so I can't go any further... |
@michield Can we look into this? |
you need to clear cache in order to get the new /subscriptions to be recognized |
Summary
Add new endpoint to add a member to a list.
Fix #118
Not sure this is the way you would have done it. Anyway, I had to implement it for an urgent need, so here it is :-)
Unit test
Integration tests added.
Code style
No code style errors according to phpcs.
Other Information
Code uses methods on Repositories that are not declared with "@method" annotations.
I can make another PR on Core to add missing annotations if you want.