Skip to content

Commit

Permalink
Value type.
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed May 27, 2024
1 parent fdc1b20 commit 93fb84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/LinkedIn/API/LinkedInAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

public final class LinkedInAPI {
public struct LinkedInAPI {
private let client: HttpClient = .init()

public init() {}
Expand Down
2 changes: 1 addition & 1 deletion Sources/LinkedIn/Core/HttpClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

class HttpClient {
struct HttpClient {
func request(method: String, url: URL, headers: [Header]) async throws -> Data {
var urlRequest = URLRequest(url: url)
urlRequest.httpMethod = method
Expand Down

0 comments on commit 93fb84c

Please sign in to comment.