Skip to content

Commit 0b17151

Browse files
authored
Fix duplicate block id (#1115)
1 parent 9359de8 commit 0b17151

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/org/mskcc/cbio/oncokb/service/SlackService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ private List<LayoutBlock> buildAdditionalInfoBlocks(UserDTO userDTO, boolean tri
617617
sb.append(", *REJECTED*");
618618
}
619619
}
620-
layoutBlocks.add(buildMarkdownBlock(sb.toString(), DUPLICATE_USER_CLARIFICATION_NOTE));
620+
layoutBlocks.add(buildMarkdownBlock(sb.toString(), DUPLICATE_USER_INFO));
621621
}
622622
return layoutBlocks;
623623
}

src/main/java/org/mskcc/cbio/oncokb/web/rest/slack/BlockId.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public enum BlockId {
1313
, FOR_PROFIT_CLARIFICATION_NOTE("for-profit-clarification-note")
1414
, USE_CASE_CLARIFICATION_NOTE("use-case-clarification-note")
1515
, DUPLICATE_USER_CLARIFICATION_NOTE("duplicate-user-clarification-note")
16+
, DUPLICATE_USER_INFO("duplicate-user-info")
1617
, REGISTRATION_INFO_CLARIFICATION_NOTE("registration-info-clarification-note")
1718
, LICENSE_OPTIONS_NOTE("license-options-clarification-note")
1819
, REJECTION_NOTE("rejection-note")

0 commit comments

Comments
 (0)