Drop attachments from `maniphestSearch` After the re-doing of `maniphestEdit`, the projects attachment of `maniphestSearch` is no longer needed, so we drop it to avoid unnecessary load of the Phabricator API. Change-Id: Iee57abb3e60bb6c25214c57fa2989d221353c728
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java index cea0908..d009d4e 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java
@@ -80,7 +80,6 @@ public ManiphestSearch maniphestSearch(int taskId) throws ConduitException { HashMap<String, Object> params = new HashMap<>(); params.put("constraints", ImmutableMap.of("ids", ImmutableList.of(taskId))); - params.put("attachments", ImmutableMap.of("projects", true)); JsonElement callResult = conduitConnection.call("maniphest.search", params, token); return searchUtils.stream(callResult, ManiphestSearch.class)