Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit e2df113

Browse files
committed
typo
1 parent 427f685 commit e2df113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StudyplusSDK/StudyplusAPIRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ internal struct StudyplusAPIRequest {
123123
print("-- StudyplusAPIRequest Path: \(url.absoluteString), Method: \(method), StatusCode: \(httpResponse.statusCode) --")
124124
#endif
125125
guard let data = data else {
126-
failure(0, nil)
126+
failure(httpResponse.statusCode, nil)
127127
return
128128
}
129129

0 commit comments

Comments
 (0)