chore: Set default reftype in git metadata (#38455)
This commit is contained in:
parent
99a10e46d1
commit
dffabc26c9
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user