mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 22:03:11 +07:00
#300: custom metadata fields: API read
This commit is contained in:
@@ -234,7 +234,10 @@ public class DocumentResource extends BaseResource {
|
||||
step.add("transitionable", getTargetIdList(null).contains(routeStepDto.getTargetId()));
|
||||
document.add("route_step", step);
|
||||
}
|
||||
|
||||
|
||||
// Add custom metadata
|
||||
MetadataUtil.addMetadata(document, documentId);
|
||||
|
||||
return Response.ok().entity(document.build()).build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user