forgejo/routers/api/v1
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
..
activitypub
admin
misc Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
notify
org feat(API): add secret deletion functionality for repository (#26808) 2023-09-01 13:02:49 +00:00
packages
repo Allow users with write permissions for issues to add attachments with API (#26837) 2023-09-01 15:35:38 +00:00
settings
swagger refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
user feat(API): add routes and functions for managing user's secrets (#26909) 2023-09-05 14:02:50 +00:00
utils
api.go Add missing reqToken() to notifications endpoints (#26914) 2023-09-05 14:43:34 +00:00
auth.go
auth_windows.go