diff --git a/DarockBili Watch App/Extension/CodeExt.swift b/DarockBili Watch App/Extension/CodeExt.swift index c219b3710..a3ba76a4e 100644 --- a/DarockBili Watch App/Extension/CodeExt.swift +++ b/DarockBili Watch App/Extension/CodeExt.swift @@ -147,7 +147,7 @@ public func autoRetryRequestApi(_ url: String, headers: HTTPHeaders?, maxReqCoun } } - func repeatReq(_ url: String, headers: HTTPHeaders?, counter: UnsafeMutablePointer, maxReqCount: Int, callback: @escaping (JSON, Bool) -> Void { + func repeatReq(_ url: String, headers: HTTPHeaders?, counter: UnsafeMutablePointer, maxReqCount: Int, callback: @escaping (JSON, Bool) -> Void) { singalReq(url, headers: headers) { respJson, isSuccess in if isSuccess { callback(respJson, true)