1
0
Fork 0
forgejo/routers/api
zeripath 5705f72fd6
Prevent panic when editing forked repos by API (#14960)
When editing forked repos using the API the BaseRepository needs to loaded
in order to check its visibility otherwise there will be NPE panic.

Fix #14956

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-11 19:09:52 +01:00
..
v1 Prevent panic when editing forked repos by API (#14960) 2021-03-11 19:09:52 +01:00