From db630f44a5911cb25690a924f729b974b6f9173b Mon Sep 17 00:00:00 2001 From: barshathakuri Date: Mon, 29 Jul 2024 15:23:31 +0545 Subject: [PATCH] Rename analyis field into analysis_id --- apps/analysis/schema.py | 2 +- schema.graphql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/analysis/schema.py b/apps/analysis/schema.py index 20e6c36e78..3ae06c2a49 100644 --- a/apps/analysis/schema.py +++ b/apps/analysis/schema.py @@ -200,7 +200,7 @@ class Meta: ) assignee = graphene.Field(UserType, required=True) - analysis = graphene.ID(source='analysis_id', required=True) + analysis_id = graphene.ID(source='analysis_id', required=True) cloned_from = graphene.ID(source='cloned_from_id') analyzed_entries_count = graphene.Int(required=True) diff --git a/schema.graphql b/schema.graphql index 1a15a12bf0..baec0af657 100644 --- a/schema.graphql +++ b/schema.graphql @@ -345,7 +345,7 @@ type AnalysisPillarType { modifiedBy: UserType clientId: ID! assignee: UserType! - analysis: ID! + analysisId: ID! clonedFrom: ID analyzedEntriesCount: Int! statements: [AnalyticalStatementType!]