mirror of
1
Fork 0
forgejo/routers/api
Chongyi Zheng ec6d46bc8f
Fix nil dereference on error (#30740)
In both cases, the `err` is nil because of `if` checks before

Reference: #30729
(cherry picked from commit 970965f6d8fb4e68613ca445d2414c6c796b5231)
2024-04-28 15:39:02 +02:00
..
actions Fix nil dereference on error (#30740) 2024-04-28 15:39:02 +02:00
forgejo/v1 Fix #2512 /api/forgejo/v1/version auth check (#2582) 2024-03-19 07:16:19 +00:00
packages Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
shared Fix #2512 /api/forgejo/v1/version auth check (#2582) 2024-03-19 07:16:19 +00:00
v1 Prevent allow/reject reviews on merged/closed PRs (#30686) 2024-04-28 15:39:01 +02:00