From 4648806009a5ade5da12015fa3895d601e0d6e52 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Tue, 12 Mar 2024 11:49:01 +0100 Subject: [PATCH] api: add missing json tags in MultipartCompleteRequest --- api/multipart.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/multipart.go b/api/multipart.go index 0654386c0..ee26567b1 100644 --- a/api/multipart.go +++ b/api/multipart.go @@ -79,11 +79,11 @@ type ( } MultipartCompleteRequest struct { - Bucket string `json:"bucket"` - Metadata ObjectUserMetadata - Path string `json:"path"` - UploadID string `json:"uploadID"` - Parts []MultipartCompletedPart + Bucket string `json:"bucket"` + Metadata ObjectUserMetadata `json:"metadata"` + Path string `json:"path"` + UploadID string `json:"uploadID"` + Parts []MultipartCompletedPart `json:"parts"` } MultipartCreateRequest struct {