Skip to content

Commit 50a608d

Browse files
authored
Fix bug with Repository struct (#159)
The `ForkPolicy` was incorrectly named, it should be `Fork_policy` to match the key returned by the API.
1 parent 21b30d1 commit 50a608d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type Repository struct {
2424
Slug string
2525
Full_name string
2626
Description string
27-
ForkPolicy string
27+
Fork_policy string
2828
Language string
2929
Is_private bool
3030
Has_issues bool

0 commit comments

Comments
 (0)