mirror of https://github.com/mastodon/mastodon
* 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>pull/20155/head
parent
455a754081
commit
89e1974f30
Loading…
Reference in New Issue