Skip to content

Commit 785d532

Browse files
committed
spelling mistake
1 parent d70caa8 commit 785d532

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

HttpUtility/HttpUtility.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ enum HttpMethods
3737
struct 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
}

0 commit comments

Comments
 (0)