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
..
2022-05-22 22:16:43 +02:00
2022-11-08 16:39:15 +01:00
2022-11-05 18:28:13 +01:00
2022-11-08 04:06:54 +01:00
2022-11-08 16:36:26 +01:00
2022-10-08 16:45:40 +02:00
2022-11-08 03:50:47 +01:00
2022-10-26 13:42:29 +02:00
2022-11-05 18:28:13 +01:00
2022-11-08 16:37:41 +01:00
2022-11-07 22:35:53 +01:00
2022-10-28 23:30:44 +02:00
2022-11-08 03:53:06 +01:00
2022-11-07 15:38:55 +01:00