1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-02-16 07:33:51 -05:00
alpaca-tc 05b72368ed Fixes slow query in notifications api ()
* Add inclusion validation for activity_type

* When excluding all types with `WHERE NOT IN`, the query search all rows.
2017-05-06 21:55:40 +02:00

5 lines
79 B
Ruby

Fabricator(:notification) do
activity_id 1
activity_type 'Favourite'
end