Skip to content

Commit 18113ef

Browse files
committed
fixed #214
1 parent 48ab459 commit 18113ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/app/api/lib/artifact-writer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ArtifactWriter extends ResourceWriter {
3131
if(inputArtifactGraph[DatabusUris.DCT_ABSTRACT] != null) {
3232
artifactGraph[DatabusUris.DCT_ABSTRACT] = inputArtifactGraph[DatabusUris.DCT_ABSTRACT];
3333
} else if (artifactGraph[DatabusUris.DCT_DESCRIPTION] != null) {
34-
artifactGraph[DatabusUris.DCT_DESCRIPTION] = DatabusUtils.createAbstractFromDescription(artifactGraph[DatabusUris.DCT_DESCRIPTION]);
34+
artifactGraph[DatabusUris.DCT_ABSTRACT] = DatabusUtils.createAbstractFromDescription(artifactGraph[DatabusUris.DCT_DESCRIPTION]);
3535
}
3636

3737
var groupGraph = {};

server/app/api/lib/group-writer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class GroupWriter extends ResourceWriter {
3030
if(inputGroupGraph[DatabusUris.DCT_ABSTRACT] != null) {
3131
groupGraph[DatabusUris.DCT_ABSTRACT] = inputGroupGraph[DatabusUris.DCT_ABSTRACT];
3232
} else if (groupGraph[DatabusUris.DCT_DESCRIPTION] != null) {
33-
groupGraph[DatabusUris.DCT_DESCRIPTION] = DatabusUtils.createAbstractFromDescription(groupGraph[DatabusUris.DCT_DESCRIPTION]);
33+
groupGraph[DatabusUris.DCT_ABSTRACT] = DatabusUtils.createAbstractFromDescription(groupGraph[DatabusUris.DCT_DESCRIPTION]);
3434
}
3535

3636
return [

0 commit comments

Comments
 (0)