Skip to content

Commit

Permalink
Updated for Swift6
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Jun 15, 2024
1 parent 0735d98 commit 41a80cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/DarockKit/DarockKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import SwiftyJSON
public class DarockKit {
//MARK: Network
public class Network {
public static let shared = Network()
@MainActor public static let shared = Network()

@discardableResult
open func request(_ convertible: URLConvertible, method: HTTPMethod = .get, parameters: Parameters? = nil, encoding: ParameterEncoding = URLEncoding.default, headers: HTTPHeaders? = nil, interceptor: RequestInterceptor? = nil, requestModifier: Session.RequestModifier? = nil) -> DataRequest {
Expand Down

0 comments on commit 41a80cd

Please sign in to comment.