Skip to content

Commit eb4d7c4

Browse files
committed
Fix json tag
1 parent 3f37f45 commit eb4d7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ type projectV2Field struct {
870870
ID *int64 `json:"id,omitempty"` // The unique identifier for this field.
871871
NodeID string `json:"node_id,omitempty"` // The GraphQL node ID for this field.
872872
Name string `json:"name,omitempty"` // The display name of the field.
873-
DataType string `json:"dataType,omitempty"` // The data type of the field (e.g., "text", "number", "date", "single_select", "multi_select").
873+
DataType string `json:"data_type,omitempty"` // The data type of the field (e.g., "text", "number", "date", "single_select", "multi_select").
874874
URL string `json:"url,omitempty"` // The API URL for this field.
875875
Options []*any `json:"options,omitempty"` // Available options for single_select and multi_select fields.
876876
CreatedAt *github.Timestamp `json:"created_at,omitempty"` // The time when this field was created.

0 commit comments

Comments
 (0)