forgejo-federation/routers/api/v1/org
Jason Song d67e40684f
Improve LoadUnitConfig to handle invalid or duplicate units (#23736)
The old code just parses an invalid key to `TypeInvalid` and uses it as
normal, and duplicate keys will be kept.

So this PR will ignore invalid key and log warning and also deduplicate
valid units.
2023-04-03 16:42:38 +08:00
..
hook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
label.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
member.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
org.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
team.go Improve LoadUnitConfig to handle invalid or duplicate units (#23736) 2023-04-03 16:42:38 +08:00