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

Improve messages sent back from syndication endpoint #295

Closed
paulrobertlloyd opened this issue Oct 29, 2020 · 0 comments
Closed

Improve messages sent back from syndication endpoint #295

paulrobertlloyd opened this issue Oct 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working plugin-syndicator Syndicator plug-in

Comments

@paulrobertlloyd
Copy link
Collaborator

Describe the bug

The syndicator endpoint currently returns a 200 status (OK), but the body says this is an error, when it isn’t:

{
    "error": "OK",
    "error_description": "No posts awaiting syndication"
}

Expected behaviour

It should follow other success messages, and say something more like this:

{
    "success": "ok",
    "success_description": "No posts awaiting syndication"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin-syndicator Syndicator plug-in
Projects
None yet
Development

No branches or pull requests

1 participant