diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-07 13:12:08 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-07 13:12:08 +0200 |
commit | 1c71987123a9399b9988335a9ff083dcd69facb0 (patch) | |
tree | b4d616fa95ea1ec7d99e3484fadab3d803432ca1 /skate | |
parent | 2a427fe001f3182ff13979551d7cfb6a1b8f5a85 (diff) | |
download | refcat-1c71987123a9399b9988335a9ff083dcd69facb0.tar.gz refcat-1c71987123a9399b9988335a9ff083dcd69facb0.zip |
conv: transfer work id
Diffstat (limited to 'skate')
-rw-r--r-- | skate/schema.go | 1 |
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": [ |