chore: Set default reftype in git metadata (#38455)

This commit is contained in:
Nidhi 2025-01-02 20:43:20 +05:30 committed by GitHub
parent 99a10e46d1
commit dffabc26c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,6 +131,10 @@ public class GitArtifactMetadataCE implements AppsmithDomain {
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.