Skip to content

Conversation

gitSambhal
Copy link

I want to share it with you. Kindly have a look.

Added return new WP_REST_Response to return
Instead of returning reply id returning complete reply object after post
- /bbp-api/subscribe/forum
- /bbp-api/unsubscribe/forum
- /bbp-api/subscribe/topic
- /bbp-api/unsubscribe/topic
Params:
user_id,topic_id,forum_id
@renatonascalves
Copy link

renatonascalves commented Jul 21, 2017

This is nice. But why all the spaces between lines? @ePascalC maybe it is time to introduce a .editorconfig file.

@gitSambhal
Copy link
Author

I got the same spaces when I downloaded the files.

@ePascalC
Copy link
Owner

Hi,
The features I like and I will (more or less) import them. However, I see a /subscriptions/topics and not a /topic/subscribe, because the /subscriptions will show all subscriptions of the logged in user (so forums, topics, etc)
Thanks a lot for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants