Skip to content

Commit

Permalink
Update Satori runtime usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Feb 3, 2025
1 parent b78b450 commit 8e54408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion personalizer_satori.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (p *SatoriPersonalizer) Authenticate(ctx context.Context, logger runtime.Lo
if !p.IsPublishAuthenticateRequest() {
return
}
if err := nk.GetSatori().Authenticate(ctx, userID, nil, nil); err != nil && !errors.Is(err, runtime.ErrSatoriConfigurationInvalid) {
if _, err := nk.GetSatori().Authenticate(ctx, userID, nil, nil, true); err != nil && !errors.Is(err, runtime.ErrSatoriConfigurationInvalid) {
logger.WithField("error", err.Error()).Error("failed to authenticate with Satori")
}
}
Expand Down

0 comments on commit 8e54408

Please sign in to comment.