Skip to content

Commit

Permalink
fix(EncodableDictionary): Explicit Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Jan 30, 2025
1 parent 3bfec29 commit ad6b17a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/InfomaniakCore/Networking/EncodableDictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

import Foundation

struct EncodableDictionary: Encodable {
private let dictionary: [String: Encodable]
struct EncodableDictionary: Encodable, Sendable {
private let dictionary: [String: Encodable & Sendable]

init(_ dictionary: [String: Encodable]) {
init(_ dictionary: [String: Encodable & Sendable]) {
self.dictionary = dictionary
}

Expand Down

0 comments on commit ad6b17a

Please sign in to comment.