Skip to content

Commit 2e73264

Browse files
committed
fix: correctly set the Publisher id when alternativeId is present
1 parent 329e272 commit 2e73264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apiclient/apiclient.go

+1-1
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)