Logo
Explore Help
Register Sign In
tarrien/Mastodon
1
0
Fork 0
You've already forked Mastodon
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
1133e05e3da306460fa802c2bb78c25cc73ed9be
Mastodon/app/controllers/api/v1/accounts
History
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
..
credentials_controller.rb
…
familiar_followers_controller.rb
Add /api/v1/accounts/familiar_followers to REST API (#17700)
2022-03-07 09:36:47 +01:00
featured_tags_controller.rb
…
follower_accounts_controller.rb
Change following and followers API to be accessible without being logged in (#18964)
2022-08-28 03:45:07 +02:00
following_accounts_controller.rb
Change following and followers API to be accessible without being logged in (#18964)
2022-08-28 03:45:07 +02:00
identity_proofs_controller.rb
…
lists_controller.rb
…
lookup_controller.rb
Fix error when looking handle with surrounding spaces (#18225)
2022-05-02 01:00:08 +02:00
notes_controller.rb
…
pins_controller.rb
Make account endorsements idempotent (fix #19045) (#20118)
2022-11-08 16:39:15 +01:00
relationships_controller.rb
…
search_controller.rb
…
statuses_controller.rb
Fix performance of account timelines (#17709)
2022-03-08 09:14:39 +01:00
Powered by Gitea Version: 1.25.5 Page: 1339ms Template: 48ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API