1
0
Fork 0
gitea/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
convert
cron
generate
git Provide Default messages for merges (#9393) 2019-12-30 18:34:11 -05:00
gitgraph
graceful
highlight
httplib
indexer
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
process
public
recaptcha
references Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
repofiles
repository
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
test
timeutil
upload
user
util
validation
webhook