Skip to content

Commit 2648aaf

Browse files
authored
allow launch deletions (#14)
1 parent 2589a9b commit 2648aaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/redhat/labs/lodestar/engagements/model/Engagement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public boolean overrideImmutableFields(Engagement stone, boolean categoryUpdate)
139139
projectId = stone.getProjectId();
140140
}
141141

142-
if(stone.getLaunch() != null) { //Launch has already happened
142+
if(stone.getLaunch() != null && launch != null) { //Launch has already happened - you can delete but not change the launch info
143143
launch = stone.getLaunch();
144144
}
145145

0 commit comments

Comments
 (0)