1
0
Fork 0
forked from forgejo/forgejo
forgejo-domi/modules
6543 9600c27085 [API] Fix 9544 | return 200 when reaction already exist (#9550)
* add ErrReactionAlreadyExist

* extend CreateReaction

* reaction already exist = 200

* extend FindReactionsOptions

* refactor swagger options/definitions

* fix swagger-validate

* Update models/error.go

Co-Authored-By: zeripath <art27@cantab.net>

* fix test PART1

* extend FindReactionsOptions with UserID option

* catch error on test

* fix test PART2

* format ...

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
2019-12-31 03:21:21 -05:00
..
auth
avatar
base
cache
charset
context Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
convert
cron
generate
git Provide Default messages for merges (#9393) 2019-12-30 18:34:11 -05:00
gitgraph
graceful
highlight
httplib
indexer Stop various tests from adding to the source tree (#9515) 2019-12-28 10:08:05 +08:00
lfs
log
markup Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
metrics
migrations
notification
options
password
pprof
private Batch hook pre- and post-receive calls (#8602) 2019-12-26 13:29:45 +02:00
process
public
recaptcha
references Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
repofiles Fix deleted branch isn't removed when push the branch again (#9516) 2019-12-27 19:17:37 +00:00
repository Batch hook pre- and post-receive calls (#8602) 2019-12-26 13:29:45 +02:00
secret
session
setting Provide Default messages for merges (#9393) 2019-12-30 18:34:11 -05:00
ssh
structs [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
sync
task
templates Fix repository issues pagination bug when there are more than one label filter (#9512) 2019-12-28 14:43:46 +00:00
test
timeutil
upload
user
util
validation
webhook Refactor webhooks to reduce code duplication (#9422) 2019-12-28 08:55:09 +00:00