0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 18:30:27 +01:00
forgejo/routers/api
JakobDev e9f5067653
Add missing reqToken() to notifications endpoints ()
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{}. () 2023-08-30 06:55:25 +00:00
packages Add auth-required to config.json for Cargo http registry () 2023-08-28 07:05:39 +00:00
v1 Add missing reqToken() to notifications endpoints () 2023-09-05 14:43:34 +00:00