From f7aa774bd75df38d1cea62a369ac0db58f2a6201 Mon Sep 17 00:00:00 2001 From: Anant Prakash Date: Fri, 22 Jun 2018 16:03:33 +0530 Subject: [PATCH] Update comments --- .../matrix-org/dendrite/federationapi/routing/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/federationapi/routing/events.go b/src/github.com/matrix-org/dendrite/federationapi/routing/events.go index 74a91606e..ed56ec7a7 100644 --- a/src/github.com/matrix-org/dendrite/federationapi/routing/events.go +++ b/src/github.com/matrix-org/dendrite/federationapi/routing/events.go @@ -43,8 +43,8 @@ func GetEvent( return util.JSONResponse{Code: http.StatusOK, JSON: event} } -// getEvent returns the requested event. -// Or returns an error response which can be sent to the client. +// getEvent returns the requested event, +// otherwise it returns an error response which can be sent to the client. func getEvent( ctx context.Context, request *gomatrixserverlib.FederationRequest,