Skip to content

Commit

Permalink
Use correct access param for jwt key
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Feb 8, 2024
1 parent b7dc1c3 commit 828076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/components/lifecycle/bot_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (bl *botLogger) SendBotLogs(ctx context.Context, snapshotInterval time.Dura

if len(sendLogs) > 0 {
scannerJwt, err := security.CreateScannerJWT(bl.key, map[string]interface{}{
"access": "bot_logger",
"access": "agent_logs",
})
if err != nil {
return fmt.Errorf("failed to create scanner token: %v", err)
Expand Down

0 comments on commit 828076f

Please sign in to comment.