forked from torrust/torrust-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge torrust#519: Refactor error handling for torrent upload
414d468 refactor: [torrust#290] return 4009 intead of 400 trying to upload duplicate torrents (Jose Celano) d500634 refactor: [torrust#290] specific error for suplidatetorrent with a original infohashes (Jose Celano) Pull request description: - [x] Return a specific error when a user tries to upload a torrent with an original infohash that already exists. - [x] Return 409 when a user tries to upload a torrent whose canonical or original infohash already exists (instead of 400). ACKs for top commit: josecelano: ACK 414d468 Tree-SHA512: f918d65915212d470543ea9ebf9d85536670422aeac658bd58a9f6d488eb35ebcda3fbf3792b36a989ebc8a6c09163cc519cb77383baf3ebc9affa6565e1f967
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters