Make the createArtcs REST-API endpoint return the types SCS and SCC
Because createArtcs also may create SCS and SCC nowadays, the types
should also be included in the response.
Change-Id: I1d6eaebb01c20a681bf70cf38dec22ddaf1a76ef
diff --git a/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/rest/EventCreationResponse.java b/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/rest/EventCreationResponse.java
index 8f43ba9..8303940 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/rest/EventCreationResponse.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/rest/EventCreationResponse.java
@@ -43,7 +43,7 @@
}
static EventCreationResponse artc(TagResource res) {
- return new EventCreationResponse(res, null, ARTC, CD);
+ return new EventCreationResponse(res, null, ARTC, CD, SCS, SCC);
}
private final EventCreationScheduled scheduled;