Skip to content

Commit

Permalink
remove warnings from khalticheckout.podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikash-Giri committed Jul 18, 2024
1 parent 9df425f commit bcc9242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions KhaltiCheckout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Pod::Spec.new do |s|
'KhaltiCheckout' => ['KhaltiCheckout/Assets/**/*.{png,storyboard,xib,xcassets}']
}
s.frameworks = 'UIKit'
s.swift_versions = '4.0'
end
File renamed without changes.
5 changes: 2 additions & 3 deletions KhaltiCheckout/Classes/Service/KhaltiApi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ extension KhaltiAPIService:KhaltiApiServiceProtocol{
if isConnected{
print("===========================================================")
print("Request Url:")
print (request.url)
print(request.allHTTPHeaderFields)
print (request.url ?? "url empty")
print(request.allHTTPHeaderFields ?? "empty header")

print("===========================================================")
if let bodyData = request.httpBody {
Expand Down Expand Up @@ -160,7 +160,6 @@ extension KhaltiAPIService:KhaltiApiServiceProtocol{
return
}

let errorMessage = String(data:data,encoding: .utf8)
print("===========================================================")
print("Received JSON data:", String(data: data, encoding: .utf8) ?? "Invalid UTF-8 data")
print("===========================================================")
Expand Down

0 comments on commit bcc9242

Please sign in to comment.