From 87fb81bf97a7707a70d12b44f3f6f0eb3380409e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 24 Jan 2024 02:03:14 -0500 Subject: [PATCH] fix: wrong endpoint --- storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage.go b/storage/storage.go index a56f8a8..a76f992 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -628,7 +628,7 @@ func (s *StorageServiceImpl) GetFile(hash []byte) (io.ReadCloser, uint64, error) SetPathParam("path", hashStr). SetQueryParam("bucket", upload.Protocol). DisableAutoReadResponse(). - Get("/api/worker/object/{path}") + Get("/api/worker/objects/{path}") if err != nil { return nil, 0, err