mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
XML parsing overhaul
This commit is contained in:
@@ -85,8 +85,7 @@ func (k *KGPZ) Enrich() error {
|
||||
}
|
||||
|
||||
// INFO: We pass agents by value since we don't want to block the library
|
||||
agents := make([]xmlprovider.Agent, len(k.Library.Agents.Items.Agents))
|
||||
_ = copy(agents, k.Library.Agents.Items.Agents)
|
||||
agents := k.Library.Agents.All()
|
||||
go func(agents []xmlprovider.Agent) {
|
||||
k.GND.FetchPersons(agents)
|
||||
k.GND.WriteCache(k.Config.GNDPath)
|
||||
|
||||
Reference in New Issue
Block a user