summaryrefslogtreecommitdiffstats
path: root/bridge/api
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/api')
-rw-r--r--bridge/api/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/api/api.go b/bridge/api/api.go
index da1f91e2..eef41a4a 100644
--- a/bridge/api/api.go
+++ b/bridge/api/api.go
@@ -110,8 +110,8 @@ func (b *Api) handleStream(c echo.Context) error {
c.Response().Header().Set(echo.HeaderContentType, echo.MIMEApplicationJSON)
c.Response().WriteHeader(http.StatusOK)
greet := config.Message{
- Event:config.EVENT_API_CONNECTED,
- Timestamp:time.Now(),
+ Event: config.EVENT_API_CONNECTED,
+ Timestamp: time.Now(),
}
if err := json.NewEncoder(c.Response()).Encode(greet); err != nil {
return err