Merge branch 'server-operators' into ep/operators-preset-servers

This commit is contained in:
Evgeny Poberezkin
2024-11-08 14:36:47 +00:00
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -395,6 +395,8 @@ instance ToJSON ServerOperator where
instance FromJSON ServerOperator where
parseJSON = $(JQ.mkParseJSON defaultJSON ''ServerOperator')
$(JQ.deriveJSON defaultJSON ''OperatorEnabled)
$(JQ.deriveJSON (sumTypeJSON $ dropPrefix "UCA") ''UsageConditionsAction)
instance ProtocolTypeI p => ToJSON (UserServer p) where