From 828afa736f2a9d8fa4300de1dbe3477e6274427c Mon Sep 17 00:00:00 2001 From: zqq454224016 <454224016@qq.com> Date: Mon, 20 Nov 2023 16:41:27 +0800 Subject: [PATCH] fix: Modify automatically generated files Signed-off-by: zqq454224016 <454224016@qq.com> --- graphql-server/go-server/graph/impl/datasource.resolvers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/graphql-server/go-server/graph/impl/datasource.resolvers.go b/graphql-server/go-server/graph/impl/datasource.resolvers.go index a0cedb601..e74922598 100644 --- a/graphql-server/go-server/graph/impl/datasource.resolvers.go +++ b/graphql-server/go-server/graph/impl/datasource.resolvers.go @@ -6,7 +6,6 @@ package impl import ( "context" - "fmt" "strings" "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" @@ -147,7 +146,7 @@ func (r *datasourceQueryResolver) ListDatasources(ctx context.Context, obj *gene // Datasource is the resolver for the Datasource field. func (r *mutationResolver) Datasource(ctx context.Context) (*generated.DatasourceMutation, error) { - panic(fmt.Errorf("not implemented: Datasource - Datasource")) + return &generated.DatasourceMutation{}, nil } // Datasource is the resolver for the Datasource field.