File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,19 @@ enum HttpMethods
3737struct HttpUtility
3838{
3939 private var _token : String ? = nil
40- private var _customerJSONDecoder : JSONDecoder ? = nil
40+ private var _customJsonDecoder : JSONDecoder ? = nil
4141
4242 init ( token: String ? ) {
4343 _token = token
4444 }
4545
4646 init ( token: String ? , decoder: JSONDecoder ? ) {
4747 _token = token
48- _customerJSONDecoder = decoder
48+ _customJsonDecoder = decoder
4949 }
5050
5151 init ( WithJsonDecoder decoder: JSONDecoder ) {
52- _customerJSONDecoder = decoder
52+ _customJsonDecoder = decoder
5353 }
5454
5555 init ( ) { }
@@ -79,8 +79,8 @@ struct HttpUtility
7979 // MARK: - Private functions
8080 private func createJsonDecoder( ) -> JSONDecoder
8181 {
82- let decoder = _customerJSONDecoder != nil ? _customerJSONDecoder ! : JSONDecoder ( )
83- if ( _customerJSONDecoder == nil )
82+ let decoder = _customJsonDecoder != nil ? _customJsonDecoder ! : JSONDecoder ( )
83+ if ( _customJsonDecoder == nil )
8484 {
8585 decoder. dateDecodingStrategy = . iso8601
8686 }
You can’t perform that action at this time.
0 commit comments