]> cat aescling's git repositories - mastodon.git/commit
Add `types` param to `GET /api/v1/notifications` in REST API (#17767)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 15 Mar 2022 03:11:29 +0000 (04:11 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Mar 2022 03:11:29 +0000 (04:11 +0100)
commite6ffbfb5e7684880e9252f72f9cb00b151c28d10
tree82ccc383bc0a9614c95d682b76da6bb8d6435c38
parenteebafe24a8000ac77bb54660170f5b47bfc5b3a3
Add `types` param to `GET /api/v1/notifications` in REST API (#17767)

* Add `types` param to `GET /api/v1/notifications` in REST API

* Improve tests
app/controllers/api/v1/notifications_controller.rb
app/models/notification.rb
spec/controllers/api/v1/notifications_controller_spec.rb