From a3f466cc9bd1c68bdd40161768114b0b816e681a Mon Sep 17 00:00:00 2001 From: Shial Date: Wed, 11 Jul 2018 23:49:06 +1000 Subject: [PATCH] fix warning --- Sources/SLazeKit/SLazeKit.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SLazeKit/SLazeKit.swift b/Sources/SLazeKit/SLazeKit.swift index 99a7028..0582eb8 100644 --- a/Sources/SLazeKit/SLazeKit.swift +++ b/Sources/SLazeKit/SLazeKit.swift @@ -35,7 +35,7 @@ public class SLazeKit { if let data = data, error == nil { do { let object = try Config.decoder.decode(T.self, from: data) - try Config.synchronize(object) + Config.synchronize(object) handler((data, response as? HTTPURLResponse), object, nil) } catch { handler((data, response as? HTTPURLResponse), nil, error)