Skip to content

Commit

Permalink
Added Bundle ID in the request module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ananth committed Feb 6, 2018
1 parent b904fa0 commit 5f6d967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Network Requests/BaseRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ open class BaseRequest: NSObject, URLSessionTaskDelegate {
if headers != nil {
self.headers = headers!
}
self.headers["application/bundleId"] = BaseAppIdentity().ID
self.timeout = timeout
self.queryParameters = queryParameters

Expand Down Expand Up @@ -489,6 +490,7 @@ public class BaseRequest: NSObject, NSURLSessionTaskDelegate {
if headers != nil {
self.headers = headers!
}
self.headers["application/bundleId"] = BaseAppIdentity().ID
self.timeout = timeout
self.queryParameters = queryParameters

Expand Down

0 comments on commit 5f6d967

Please sign in to comment.