diff --git a/pkg/platform/api/svc/request/fetchlogtail.go b/pkg/platform/api/svc/request/fetchlogtail.go index ecf5efe695..bcd679bf74 100644 --- a/pkg/platform/api/svc/request/fetchlogtail.go +++ b/pkg/platform/api/svc/request/fetchlogtail.go @@ -8,7 +8,7 @@ func NewFetchLogTail() *FetchLogTail { } func (r *FetchLogTail) Query() string { - return `query() { + return `query { fetchLogTail }` } diff --git a/pkg/platform/api/svc/request/jwt.go b/pkg/platform/api/svc/request/jwt.go index eb682537bc..69926fbb20 100644 --- a/pkg/platform/api/svc/request/jwt.go +++ b/pkg/platform/api/svc/request/jwt.go @@ -8,8 +8,8 @@ func NewJWTRequest() *JWTRequest { } func (m *JWTRequest) Query() string { - return `query() { - getJWT() { + return `query { + getJWT { token user { userID