From 1721fbf83248a35a7f9fd73112559dc359003e24 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 30 Jan 2024 00:33:57 -0500 Subject: [PATCH] fix: update imports --- api/s5/http.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/s5/http.go b/api/s5/http.go index b561064..7129fd5 100644 --- a/api/s5/http.go +++ b/api/s5/http.go @@ -15,6 +15,7 @@ import ( libs5protocol "git.lumeweb.com/LumeWeb/libs5-go/protocol" libs5service "git.lumeweb.com/LumeWeb/libs5-go/service" libs5storage "git.lumeweb.com/LumeWeb/libs5-go/storage" + libs5storageProvider "git.lumeweb.com/LumeWeb/libs5-go/storage/provider" "git.lumeweb.com/LumeWeb/libs5-go/types" "git.lumeweb.com/LumeWeb/portal/account" "git.lumeweb.com/LumeWeb/portal/api/middleware" @@ -1381,7 +1382,7 @@ func (h *HttpHandler) DownloadFile(jc jape.Context) { } func (h *HttpHandler) newStorageLocationProvider(hash *encoding.Multihash, types ...types.StorageLocationType) libs5storage.StorageLocationProvider { - return libs5storage.NewStorageLocationProvider(libs5storage.StorageLocationProviderParams{ + return libs5storageProvider.NewStorageLocationProvider(libs5storageProvider.StorageLocationProviderParams{ Services: h.getNode().Services(), Hash: hash, LocationTypes: types,