diff --git a/backend/controller/console.go b/backend/controller/console.go index f34c4563f8..5a6fadcb54 100644 --- a/backend/controller/console.go +++ b/backend/controller/console.go @@ -67,11 +67,7 @@ func (c *ConsoleService) GetModules(ctx context.Context, req *connect.Request[pb if !ok { return nil, fmt.Errorf("expected request to be a data ref, got %T", verbSchema.Request) } - dataRef := schema.DataRef{ - Module: requestData.Module, - Name: requestData.Name, - } - jsonRequestSchema, err := schema.DataToJSONSchema(sch, dataRef) + jsonRequestSchema, err := schema.DataToJSONSchema(sch, *requestData) if err != nil { return nil, err }