aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-07 13:12:08 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-07 13:12:08 +0200
commit1c71987123a9399b9988335a9ff083dcd69facb0 (patch)
treeb4d616fa95ea1ec7d99e3484fadab3d803432ca1 /skate
parent2a427fe001f3182ff13979551d7cfb6a1b8f5a85 (diff)
downloadrefcat-1c71987123a9399b9988335a9ff083dcd69facb0.tar.gz
refcat-1c71987123a9399b9988335a9ff083dcd69facb0.zip
conv: transfer work id
Diffstat (limited to 'skate')
-rw-r--r--skate/schema.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 5696844..843d253 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -617,6 +617,7 @@ func OpenLibraryEditionToRelease(v *OpenLibraryEdition, authorMap map[string]str
}
if len(v.Works) > 0 {
release.Extra.OpenLibrary.WorkID = v.Works[0].Key
+ release.WorkID = v.Works[0].Key
}
// e.g.
// "source_records": [