From 43dfbcb4d87031d142273b02e5cc57853e12d275 Mon Sep 17 00:00:00 2001 From: Zhennan Zhou Date: Sun, 11 Feb 2024 23:00:57 -0800 Subject: [PATCH] fix typo --- Sources/LCLPingAuth/Auth/Authenticate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LCLPingAuth/Auth/Authenticate.swift b/Sources/LCLPingAuth/Auth/Authenticate.swift index f3b2273..297f6e5 100644 --- a/Sources/LCLPingAuth/Auth/Authenticate.swift +++ b/Sources/LCLPingAuth/Auth/Authenticate.swift @@ -12,7 +12,7 @@ import Foundation -public func deserialize(json: Dat, as: T) throws -> T? { +public func deserialize(json: Data, as: T) throws -> T? { return try JSONDecoder().decode(T.self, from: json) }