From 61304ad3d29e68c5f386122f95968d9e32b6c9c6 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 15 Jan 2024 14:08:41 -0500 Subject: [PATCH] fix: wrong api endpoint (again) --- storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage.go b/storage/storage.go index f504c6b..e5643b0 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -47,7 +47,7 @@ func (s StorageServiceImpl) PutFile(file io.ReadSeeker, bucket string, generateP SetFormData(map[string]string{ "bucket": bucket, }). - SetBody(buf).Put("/api/worker/object/{path}") + SetBody(buf).Put("/api/worker/objects/{path}") if err != nil { return nil, err }