satellite/console/consoleweb: Fix typo in method name

Fix a typo in the graphQL handler method name.

Change-Id: I038c7783073f7bed95353f56a8a24520c724a5b6
This commit is contained in:
Ivan Fraixedes 2020-10-21 11:58:37 +02:00
parent 77d54ff0ac
commit 979ee762ba
No known key found for this signature in database
GPG Key ID: 042B474597F96DB7

View File

@ -157,7 +157,7 @@ func NewServer(logger *zap.Logger, config Config, service *console.Service, mail
router.HandleFunc("/populate-promotional-coupons", server.populatePromotionalCoupons).Methods(http.MethodPost)
router.HandleFunc("/robots.txt", server.seoHandler)
router.Handle("/api/v0/graphql", server.withAuth(http.HandlerFunc(server.grapqlHandler)))
router.Handle("/api/v0/graphql", server.withAuth(http.HandlerFunc(server.graphqlHandler)))
router.Handle(
"/api/v0/projects/{id}/usage-limits",
@ -634,8 +634,8 @@ func (server *Server) projectUsageLimitsHandler(w http.ResponseWriter, r *http.R
}
}
// grapqlHandler is graphql endpoint http handler function.
func (server *Server) grapqlHandler(w http.ResponseWriter, r *http.Request) {
// graphqlHandler is graphql endpoint http handler function.
func (server *Server) graphqlHandler(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
defer mon.Task()(&ctx)(nil)