From 7c72953b8b43e1452905481f824f367994bea764 Mon Sep 17 00:00:00 2001 From: Alex Chen Date: Fri, 26 Jul 2019 11:39:30 +0800 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> --- clientapi/routing/getevent.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientapi/routing/getevent.go b/clientapi/routing/getevent.go index 99a9f68cf..db0500bd1 100644 --- a/clientapi/routing/getevent.go +++ b/clientapi/routing/getevent.go @@ -62,7 +62,7 @@ func GetEvent( // Event not found locally return util.JSONResponse{ Code: http.StatusNotFound, - JSON: jsonerror.NotFound("The event was not found or you do not have permission to read this event."), + JSON: jsonerror.NotFound("The event was not found or you do not have permission to read this event"), } } @@ -99,7 +99,7 @@ func GetEvent( // Missing some events locally; stateResp.StateEvents unavailable. return util.JSONResponse{ Code: http.StatusNotFound, - JSON: jsonerror.NotFound("The event was not found or you do not have permission to read this event."), + JSON: jsonerror.NotFound("The event was not found or you do not have permission to read this event"), } }