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

added "filename" to reply creation api response #4052

Merged
merged 1 commit into from
Jan 22, 2019
Merged

Conversation

heartsucker
Copy link
Contributor

Status

Ready for review

Description of Changes

Fixes #4047

Adds the filename to the API response when creating a reply.

Testing

make test TESTFILES=tests/test_journalist_api.py::test_authorized_user_can_add_reply

Checklist

If you made changes to the server application code:

  • Linting (make ci-lint) and tests (make -C securedrop test) pass in the development container

Copy link
Contributor

@kushaldas kushaldas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see the same test failures in the local make test output.

@heartsucker
Copy link
Contributor Author

@kushaldas I accidentally committed a hack I use during development so I don't have to use TOTP when working on the client. That was resolved by a force push.

Copy link
Contributor

@kushaldas kushaldas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as intended. Thank you @heartsucker 👍

@kushaldas kushaldas merged commit 23378ed into develop Jan 22, 2019
@emkll emkll mentioned this pull request Feb 19, 2019
17 tasks
@heartsucker heartsucker deleted the api-add-filename branch February 27, 2019 10:44
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.

2 participants