Skip to content

Commit

Permalink
refactoring service
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Sep 27, 2023
1 parent 6fc5e9a commit 62b5938
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Prch/Service.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public protocol Service<SessionType>: ServiceProtocol {
}

extension Service {
public var authorizationManager: any SessionAuthenticationManager {
NullAuthorizationManager()
}
public func request<RequestType>(
_ request: RequestType
) async throws -> RequestType.SuccessType.DecodableType
Expand Down

0 comments on commit 62b5938

Please sign in to comment.