Skip to content

Commit

Permalink
fix: correctly set the Publisher id when alternativeId is present
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Jul 5, 2024
1 parent 329e272 commit 2e73264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiclient/apiclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ page:
// This way, we also take a minimalist approach to Publisher concept in the crawler,
// having just one id.
if p.AlternativeID != "" {
id = p.ID
id = p.AlternativeID
}
publishers = append(publishers, common.Publisher{
ID: id,
Expand Down

0 comments on commit 2e73264

Please sign in to comment.