From c3c82837b737a95f8c953fd12222e70a1b057c9d Mon Sep 17 00:00:00 2001 From: jerichosiahaya Date: Sat, 19 Aug 2023 14:25:10 +0700 Subject: [PATCH] feat: add response code and error on FileUploadResponse struct --- storage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage.go b/storage.go index 70cf16c..f8087f1 100644 --- a/storage.go +++ b/storage.go @@ -325,6 +325,8 @@ type FileUploadResponse struct { Key string `json:"Key"` Message string `json:"message"` Data []byte + Code string `json:"statusCode"` + Error string `json:"error"` } type SignedUrlResponse struct {