Skip to content

Commit

Permalink
fix events wrong URL path
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Dec 23, 2024
1 parent fed3976 commit 9ef887e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdplib/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func (b *Bdp) SyncEvents(events []Event) error {
b.pushProvenance()

slog.Info("Syncing " + strconv.Itoa(len(events)) + " events...")
url := b.BaseUrl + syncDataTypesPath + "?prn=" + b.Prn + "&prv=" + b.Prv
url := b.BaseUrl + eventsPath + "?prn=" + b.Prn + "&prv=" + b.Prv
_, err := b.postToWriter(events, url)
slog.Info("Syncing events done.")
return err
Expand Down

0 comments on commit 9ef887e

Please sign in to comment.