diff --git a/examples b/examples index aef1433b..e53b181a 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit aef1433bdc1c98d98632972d24ac1065e25fe90f +Subproject commit e53b181afe66589bb8519fe350456685eca85e31 diff --git a/integrations/poem/src/subscription.rs b/integrations/poem/src/subscription.rs index 317366b2..61fe7043 100644 --- a/integrations/poem/src/subscription.rs +++ b/integrations/poem/src/subscription.rs @@ -12,7 +12,7 @@ use poem::{http, Endpoint, FromRequest, IntoResponse, Request, RequestBody, Resp /// /// It extract GraphQL protocol from `SEC_WEBSOCKET_PROTOCOL` header. #[derive(Debug, Copy, Clone, PartialEq, Eq)] -pub struct GraphQLProtocol(WebSocketProtocols); +pub struct GraphQLProtocol(pub WebSocketProtocols); #[poem::async_trait] impl<'a> FromRequest<'a> for GraphQLProtocol {