Template
1
0
Fork 0

FOUND IT HOLY SHIT YES

This commit is contained in:
Atridad Lahiji 2024-05-14 20:57:59 -06:00
parent d30c6c9498
commit a9caa1cb24
No known key found for this signature in database

View file

@ -112,12 +112,6 @@ func HandleIncomingMessages(c echo.Context, pubsub pubsub.PubSubMessage, client
return
}
// Skip processing if the message payload is empty
if msg.Payload == "" {
LogInfo.Printf("Received empty message, skipping processing")
continue
}
// Prepare the data string to be sent as an SSE
data := fmt.Sprintf("data: %s\n\n", msg.Payload)