diff --git a/introspection.go b/introspection.go index dc1c2448..c41bbf53 100644 --- a/introspection.go +++ b/introspection.go @@ -31,7 +31,7 @@ func NewService(serviceURL string) *Service { // Update queries the service's schema, name and version and updates its status. func (s *Service) Update() (bool, error) { - req := NewRequest("{ service { name, version, schema} }") + req := NewRequest("query brambleServicePoll { service { name, version, schema} }") response := struct { Service struct { Name string `json:"name"`