bug fixes
This commit is contained in:
parent
77c813f39e
commit
64c0ddf68c
|
@ -60,6 +60,7 @@ public class ZenodoBuilder {
|
|||
deposit.getMetadata().setVersion(String.valueOf(dmp.getVersion()));
|
||||
String zenodoCommunity = zenodoServiceProperties.getCommunity();
|
||||
if(zenodoCommunity != null && !zenodoCommunity.isEmpty()) {
|
||||
if (deposit.getMetadata().getCommunities() == null) deposit.getMetadata().setCommunities(new ArrayList<>());
|
||||
ZenodoCommunity community = new ZenodoCommunity();
|
||||
community.setIdentifier(zenodoCommunity);
|
||||
deposit.getMetadata().getCommunities().add(community);
|
||||
|
|
|
@ -15,4 +15,4 @@ zenodo:
|
|||
repository-client-secret:
|
||||
redirect-uri: http://localhost:4200/login/external/zenodo
|
||||
has-logo: true
|
||||
useSharedStorage: true
|
||||
useSharedStorage: false
|
||||
|
|
Loading…
Reference in New Issue