From 16e38f79fbb6b2393c6271f9531b46ac749058be Mon Sep 17 00:00:00 2001 From: Raz Date: Tue, 15 Apr 2025 08:59:52 +0200 Subject: [PATCH] fix online payment stuff --- LeStorage/Utils/Codable+Extensions.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LeStorage/Utils/Codable+Extensions.swift b/LeStorage/Utils/Codable+Extensions.swift index 5fd14e7..5294b6b 100644 --- a/LeStorage/Utils/Codable+Extensions.swift +++ b/LeStorage/Utils/Codable+Extensions.swift @@ -7,9 +7,9 @@ import Foundation -class JSON { +public class JSON { - static var encoder: JSONEncoder = { + public static var encoder: JSONEncoder = { let encoder = JSONEncoder() encoder.keyEncodingStrategy = .convertToSnakeCase #if DEBUG @@ -23,7 +23,7 @@ class JSON { return encoder }() - static var decoder: JSONDecoder = { + public static var decoder: JSONDecoder = { let decoder = JSONDecoder() decoder.keyDecodingStrategy = .convertFromSnakeCase decoder.dateDecodingStrategy = .custom { decoder in