Skip to content

Commit

Permalink
Conform Cookie.SameSite to Sendable (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Nov 13, 2024
1 parent 49e4a08 commit 8af1c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hummingbird/HTTP/Cookie.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Foundation

/// Structure holding a single cookie
public struct Cookie: Sendable, CustomStringConvertible {
public enum SameSite: String {
public enum SameSite: String, Sendable {
case lax = "Lax"
case secure = "Secure"
case none = "None"
Expand Down

0 comments on commit 8af1c90

Please sign in to comment.