From 5bbdd8799367f87aed7f4ed9869f5776918cc8dc Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Wed, 10 Aug 2022 18:09:50 +0100 Subject: [PATCH] Fix JSON schema for Fact model --- Sources/ElixxirDAppsSDK/Models/Fact.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ElixxirDAppsSDK/Models/Fact.swift b/Sources/ElixxirDAppsSDK/Models/Fact.swift index 456ad36c..99db6a2a 100644 --- a/Sources/ElixxirDAppsSDK/Models/Fact.swift +++ b/Sources/ElixxirDAppsSDK/Models/Fact.swift @@ -16,7 +16,7 @@ public struct Fact: Equatable { extension Fact: Codable { enum CodingKeys: String, CodingKey { case fact = "Fact" - case type = "Type" + case type = "T" } public static func decode(_ data: Data) throws -> Self { -- GitLab