fixes
This commit is contained in:
parent
8df94a2f56
commit
c53c76d7f3
@ -27,7 +27,6 @@ open class FormGroupRule: Codable {
|
||||
let typeContainer = try decoder.container(keyedBy: CodingKeys.self)
|
||||
self.groupName = try typeContainer.decode(String.self, forKey: .groupName)
|
||||
self.rules = try typeContainer.decodeModels(codingKey: .rules)
|
||||
//try typeContainer.decodeFormRules(codingKey: .rules)
|
||||
}
|
||||
|
||||
public func encode(to encoder: Encoder) throws {
|
||||
|
||||
@ -28,7 +28,7 @@ public extension RulesProtocol {
|
||||
}
|
||||
|
||||
static var categoryCodingKey: String {
|
||||
return "ruleType"
|
||||
return "type"
|
||||
}
|
||||
|
||||
static var categoryName: String {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user