Skip to content

Commit

Permalink
Put Zenodo and MaterialCommons under DOI section of config
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Nov 12, 2024
1 parent 9139374 commit 192ff79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ type LDAP struct {

// DOI attributes
type DOI struct {
Provider string `mapstructure:"Provider"` // doi provider, e.g. Zenodo or MaterialCommons
ProjectName string `mapstructure:"ProjectName"` // name of the project (only valid for MaterialCommons)
Provider string `mapstructure:"Provider"` // doi provider, e.g. Zenodo or MaterialCommons
ProjectName string `mapstructure:"ProjectName"` // name of the project (only valid for MaterialCommons)
Zenodo Zenodo `mapstructure:"Zenodo"`
MaterialCommons MaterialCommons `mapstructure:"MaterialCommons"`
}

// DID structure
Expand Down Expand Up @@ -322,8 +324,6 @@ type SrvConfig struct {
SpecScans `mapstructure:"SpecScansService"`
Publication `mapstructure:"PublicationService"`
Globus `mapstructure:"Globus"`
MaterialCommons `mapstructure:"MaterialCommons"`
Zenodo `mapstructure:"Zenodo"`
DOI `mapstructure:"DOI"`

TrustedUsers []TrustedUser `mapstructure:"TrustedUsers"`
Expand Down

0 comments on commit 192ff79

Please sign in to comment.