Skip to content
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

Add Subreddit to Multireddit #1251

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mrboisvert
Copy link

@mrboisvert mrboisvert commented Nov 25, 2024

@QuantumBadger awesome app, I've been using it for ages. Thought I would take a shot at adding a multireddit management feature that I've wanted for a while.

This MR adds a subreddit action 'Add to Multireddit'. Users can add a subreddit to a multireddit, or create a multireddit while adding a subreddit to it at the same time. This also does some refactoring to support making PUT requests, which I used to implement the 'Add to Multireddit' action.

The endpoint for adding a subreddit to a multireddit returns 201 on success and 400 if an illegal multireddit name is used. This MR also adds handling for these status codes.

Related to #15 . This doesn't quite make the multireddits fully editable though.

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.

1 participant