Skip to content

Commit 2a207b7

Browse files
author
MB Burch
committed
Remove WithRequired field option from accessTokenField
1 parent f4d4369 commit 2a207b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"github.com/conductorone/baton-sdk/pkg/field"
55
)
66

7+
// TODO (mb): Make sure we don't need field.WithRequired(true) for required fields.
78
var (
89
accessTokenField = field.StringField(
910
"token",
1011
field.WithDisplayName("Personal access token"),
1112
field.WithDescription("The GitHub access token used to connect to the GitHub API."),
12-
field.WithRequired(true),
1313
field.WithIsSecret(true),
1414
)
1515
orgsField = field.StringSliceField(

0 commit comments

Comments
 (0)