Switch out FILE_ALREADY_EXISTS for DUPLICATE_ITEM.
Review Request #8137 — Created April 30, 2016 and submitted — Latest diff uploaded
The original image dnd branch included a new API error for when a file
attachment was a duplicate, but we now have a generic error in djblets for
cases like this. This change swaps out the new error for the existing one.
Ran unit tests.
reviewboard/webapi/tests/test_user_file_attachment.py |
---|