Skip to content

Commit faf9510

Browse files
Add missing field for file (OpenCSGs#577)
1 parent c6840bf commit faf9510

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/types/file.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ type File struct {
1919
LastCommitSHA string `json:"last_commit_sha"`
2020
// whether file is previewable
2121
PreviewCode FilePreviewCode `json:"preview_code,omitempty"`
22+
XnetEnabled bool `json:"xnet_enabled"`
2223
}
2324

2425
type CreateFileReq struct {

0 commit comments

Comments
 (0)