From 0e2522279e8671a345c1be6b8b07c0f1a505e23e Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 7 Nov 2018 14:36:50 -0500 Subject: Clean up various stuff (#508) * various cleanups --- bridge/api/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge/api') 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 -- cgit v1.2.3