Skip to content

Commit

Permalink
fix: database header not needed in query header
Browse files Browse the repository at this point in the history
  • Loading branch information
alespour committed Apr 8, 2024
1 parent 1b542d5 commit b0f7542
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion influxdb3/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func (c *Client) query(ctx context.Context, query string, parameters QueryParame

// add system headers
ctx = metadata.AppendToOutgoingContext(ctx, "Authorization", "Bearer "+c.config.Token)
ctx = metadata.AppendToOutgoingContext(ctx, "Database", database)

ticketData := map[string]interface{}{
"database": database,
Expand Down

0 comments on commit b0f7542

Please sign in to comment.