File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ type BatchResponse struct {
45
45
// ObjectResponse is object metadata as seen by clients of the LFS server.
46
46
type ObjectResponse struct {
47
47
Pointer
48
- Actions map [string ]* Link `json:"actions"`
48
+ Actions map [string ]* Link `json:"actions,omitempty "`
49
49
Error * ObjectError `json:"error,omitempty"`
50
50
}
51
51
52
52
// Link provides a structure used to build a hypermedia representation of an HTTP link.
53
53
type Link struct {
54
54
Href string `json:"href"`
55
55
Header map [string ]string `json:"header,omitempty"`
56
- ExpiresAt time.Time `json:"expires_at,omitempty"`
56
+ ExpiresAt * time.Time `json:"expires_at,omitempty"`
57
57
}
58
58
59
59
// ObjectError defines the JSON structure returned to the client in case of an error
You can’t perform that action at this time.
0 commit comments