mirror of
1
Fork 0
forgejo/routers/api/v1/notify
zeripath 63591016b3
Extend Notifications API and return pinned notifications by default (#12164)
* Extend notifications API and return pinned notifications in notifications list

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix swagger

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix swagger again

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix test

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove spurious debugs

* as per @6543

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/notification.go

* as per @6543

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-07-12 00:46:01 +03:00
..
notifications.go [Api] Check Notify (always return json) (#10059) 2020-04-10 19:49:39 -04:00
repo.go Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
threads.go Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
user.go Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00