fix online payment stuff

sync_v2
Raz 7 months ago
parent 5570309d6e
commit 16e38f79fb
  1. 6
      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

Loading…
Cancel
Save