Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangSonglun committed Dec 18, 2023
2 parents d8fda17 + 8f49464 commit bf142ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/MarketKit/Classes/Providers/HsProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import HsToolKit
class HsProvider {
private let baseUrl: String
private let networkManager: NetworkManager
private let headers: HTTPHeaders?

private let safeBaseUrl: String = "https://safewallet.anwang.com"
private let safeCoinUid: String = "safe-anwang"

private let headers: HTTPHeaders
var proAuthToken: String?

init(baseUrl: String, networkManager: NetworkManager, appVersion: String, appId: String?, apiKey: String?) {
Expand Down Expand Up @@ -38,7 +36,7 @@ class HsProvider {
}

var proHeaders = headers
proHeaders?.add(.authorization(proAuthToken))
proHeaders.add(.authorization(proAuthToken))
return proHeaders
}

Expand Down

0 comments on commit bf142ba

Please sign in to comment.