From 6dc244122369c212231384ac2d6c9a6c9121c1a0 Mon Sep 17 00:00:00 2001 From: Akash Date: Thu, 26 Feb 2026 11:00:32 -0700 Subject: [PATCH] fix: add curly braces to arrow function for Adobe CF2023 compatibility --- models/WebSocketSTOMP.cfc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/WebSocketSTOMP.cfc b/models/WebSocketSTOMP.cfc index 4dbf3fe..1cd4c1c 100644 --- a/models/WebSocketSTOMP.cfc +++ b/models/WebSocketSTOMP.cfc @@ -150,7 +150,7 @@ component extends="WebSocketCore" { }; // Mix in our connection metadata with a prefix - connectionMetadata.each( (k,v)=> headers[ 'connectionMetadata-' & k ] = v ); + connectionMetadata.each( (k,v)=> { headers[ 'connectionMetadata-' & k ] = v } ); var message2 = newMessage( "CONNECTED", headers ).validate(); @@ -479,7 +479,7 @@ component extends="WebSocketCore" { STOMPSubscriptions = application.STOMPBroker.STOMPSubscriptions ?: {}, STOMPExchanges = {}, // Don't blow away connections if debugmode is on - STOMPConnections = application.STOMPBroker.STOMPConnections ?: {}, + STOMPConnections = application.STOMPBroker.STOMPConnections ?: {} };