Skip to content

Commit

Permalink
style: Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisek committed Oct 12, 2024
1 parent 0c50d93 commit 9aec06b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion device/device_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ type CodeResponse struct {
Interval int
}

// Function signature for setting additional form values.
// AuthRequestEditorFn defines the function signature for setting additional form values.
type AuthRequestEditorFn func(*url.Values)

// WithAudience sets the audience parameter in the request.
func WithAudience(audience string) AuthRequestEditorFn {
return func(values *url.Values) {
if audience != "" {
Expand Down

0 comments on commit 9aec06b

Please sign in to comment.