Skip to content

Commit

Permalink
Update CodeExt.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ authored Jan 17, 2024
1 parent be94329 commit 7aea1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DarockBili Watch App/Extension/CodeExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public func autoRetryRequestApi(_ url: String, headers: HTTPHeaders?, maxReqCoun
}
}

func repeatReq(_ url: String, headers: HTTPHeaders?, counter: UnsafeMutablePointer<Int>, maxReqCount: Int, callback: @escaping (JSON, Bool) -> Void {
func repeatReq(_ url: String, headers: HTTPHeaders?, counter: UnsafeMutablePointer<Int>, maxReqCount: Int, callback: @escaping (JSON, Bool) -> Void) {
singalReq(url, headers: headers) { respJson, isSuccess in
if isSuccess {
callback(respJson, true)
Expand Down

0 comments on commit 7aea1d6

Please sign in to comment.