From 3dd229ccca9060f1e57ea53149d739fff2dcfce7 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 14 May 2024 16:50:03 +0100 Subject: [PATCH] Update Sources/HummingbirdHTTP2/HTTP2Channel.swift Co-authored-by: Joannis Orlandos --- Sources/HummingbirdHTTP2/HTTP2Channel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/HummingbirdHTTP2/HTTP2Channel.swift b/Sources/HummingbirdHTTP2/HTTP2Channel.swift index a2ee25d7c..e9efb0c15 100644 --- a/Sources/HummingbirdHTTP2/HTTP2Channel.swift +++ b/Sources/HummingbirdHTTP2/HTTP2Channel.swift @@ -105,7 +105,7 @@ public struct HTTP2UpgradeChannel: HTTPChannelHandler { /// - logger: Logger to use while processing messages public func handle(value: Value, logger: Logger) async { do { - let channel = try await value.negociatedHTTPVersion.get() + let channel = try await value.negotiatedHTTPVersion.get() switch channel { case .http1_1(let http1): await handleHTTP(asyncChannel: http1, logger: logger)