diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/GitArtifactMetadataCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/GitArtifactMetadataCE.java index 546e60d033b5..caa3653826fe 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/GitArtifactMetadataCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/GitArtifactMetadataCE.java @@ -131,6 +131,10 @@ public RefType getRefType() { return refType == null ? RefType.branch : refType; } + public void setRefType(RefType refType) { + this.refType = refType == null ? RefType.branch : refType; + } + /** * this returns the branchName instead of reference name * @return returns the ref name.