Skip to content

Commit 7603f1a

Browse files
authored
fix: correctly set the Publisher id when alternativeId is present (#404)
1 parent 329e272 commit 7603f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apiclient/apiclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ page:
173173
// This way, we also take a minimalist approach to Publisher concept in the crawler,
174174
// having just one id.
175175
if p.AlternativeID != "" {
176-
id = p.ID
176+
id = p.AlternativeID
177177
}
178178
publishers = append(publishers, common.Publisher{
179179
ID: id,

0 commit comments

Comments
 (0)