From e5671cd1e6f811e210c00b0c228da9c59f3b6314 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Tue, 7 Jan 2020 16:51:40 -0500 Subject: [PATCH] Fix GetCollections() call --- account_import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_import.go b/account_import.go index 88a9a91..8d8a6e7 100644 --- a/account_import.go +++ b/account_import.go @@ -20,7 +20,7 @@ func viewImport(app *App, u *User, w http.ResponseWriter, r *http.Request) error // Fetch extra user data p := NewUserPage(app, r, u, "Import", nil) - c, err := app.db.GetCollections(u) + c, err := app.db.GetCollections(u, app.Config().App.Host) if err != nil { return impart.HTTPError{http.StatusInternalServerError, fmt.Sprintf("unable to fetch collections: %v", err)} }