Skip to content

Commit a46b194

Browse files
committed
rollback AnyJSON encoder and decoder
1 parent e9d4b67 commit a46b194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Helpers/AnyJSON/AnyJSON+Codable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import Foundation
99

1010
extension AnyJSON {
1111
/// The decoder instance used for transforming AnyJSON to some Codable type.
12-
@TaskLocal public static var decoder: JSONDecoder = JSONDecoder.supabase()
12+
public static let decoder: JSONDecoder = JSONDecoder.supabase()
1313

1414
/// The encoder instance used for transforming AnyJSON to some Codable type.
15-
@TaskLocal public static var encoder: JSONEncoder = JSONEncoder.supabase()
15+
public static let encoder: JSONEncoder = JSONEncoder.supabase()
1616
}
1717

1818
extension AnyJSON {

0 commit comments

Comments
 (0)