forgejo/routers/api
JakobDev e9f5067653
Add missing reqToken() to notifications endpoints (#26914)
They currently throw a Internal Server Error when you use them without a
token. Now they correctly return a `token is required` error.

This is no security issue. If you use this endpoints with a token that
don't have the correct permission, you get the correct error. This is
not affected by this PR.
2023-09-05 14:43:34 +00:00
..
actions Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
packages Add auth-required to config.json for Cargo http registry (#26729) 2023-08-28 07:05:39 +00:00
v1 Add missing reqToken() to notifications endpoints (#26914) 2023-09-05 14:43:34 +00:00