aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/git-lfs-server
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/git-lfs-server')
-rw-r--r--cmd/git-lfs-server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index c3f4e91..5e99288 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -73,7 +73,7 @@ func (d SecondDuration) MarshalJSON() ([]byte, error) {
73} 73}
74 74
75type batchAction struct { 75type batchAction struct {
76 HRef *url.URL `json:"href"` 76 HRef string `json:"href"`
77 Header map[string]string `json:"header,omitempty"` 77 Header map[string]string `json:"header,omitempty"`
78 ExpiresIn *SecondDuration `json:"expires_in,omitempty"` 78 ExpiresIn *SecondDuration `json:"expires_in,omitempty"`
79 ExpiresAt *RFC3339SecondsTime `json:"expires_at,omitempty"` 79 ExpiresAt *RFC3339SecondsTime `json:"expires_at,omitempty"`
@@ -183,7 +183,7 @@ func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj par
183 Authenticated: &authenticated, 183 Authenticated: &authenticated,
184 Actions: map[operation]batchAction{ 184 Actions: map[operation]batchAction{
185 operationDownload: { 185 operationDownload: {
186 HRef: presigned, 186 HRef: presigned.String(),
187 ExpiresIn: &expiresInSeconds, 187 ExpiresIn: &expiresInSeconds,
188 }, 188 },
189 }, 189 },