mastodon/app
trwnh 89e1974f30
Make account endorsements idempotent (fix #19045) (#20118)
* Make account endorsements idempotent (fix #19045)

* Accept suggestion to use exists? instead of find_by + nil check

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

* fix logic (unless, not if)

* switch to using `find_or_create_by!`

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-11-08 16:39:15 +01:00
..
chewy
controllers Make account endorsements idempotent (fix #19045) (#20118) 2022-11-08 16:39:15 +01:00
helpers
javascript
lib Change Request connection logic to try both IPv6 and IPv4 when available (#20108) 2022-11-08 16:36:26 +01:00
mailers
models
policies
presenters
serializers Fix missing cast of status and rule IDs to string (fix #19048) (#20122) 2022-11-08 16:37:41 +01:00
services
validators
views
workers