Skip to content

Commit

Permalink
Adjust _tags to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Jan 3, 2024
1 parent 890dd67 commit 714dcdd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,9 @@ public JSONArray resolveWorkflowStatusTags(String workFlowStatus) throws IOExcep
JSONObject tag = findTagWithName("Entwurf");
if (tag != null) {
return new JSONArray() {{
put(tag.getInt("_id"));
put(new JSONObject() {{
put("_id", tag.getInt("_id"));
}});
}};
} else {
throw new RuntimeException("Cound not find Entwurf tag");
Expand Down

0 comments on commit 714dcdd

Please sign in to comment.