Skip to content

Commit

Permalink
Fix: Pass organisation ID in the header to support multi-tenancy
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Apr 4, 2024
1 parent 19be388 commit d393592
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ extension BBConsentBaseWebService {
}
}

/// Specify organisation ID in the header to support multi-tenancy
header?["organizationId"] = BBConsentPrivacyDashboardiOS.shared.orgId ?? ""

var encoding: ParameterEncoding = JSONEncoding.default
if method == .get {
encoding = URLEncoding.default
Expand Down

0 comments on commit d393592

Please sign in to comment.