Fix GetCollections() call

pull/172/head
Matt Baer 5 years ago
parent be76f865a4
commit e5671cd1e6
  1. 2
      account_import.go

@ -20,7 +20,7 @@ func viewImport(app *App, u *User, w http.ResponseWriter, r *http.Request) error
// Fetch extra user data // Fetch extra user data
p := NewUserPage(app, r, u, "Import", nil) 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 { if err != nil {
return impart.HTTPError{http.StatusInternalServerError, fmt.Sprintf("unable to fetch collections: %v", err)} return impart.HTTPError{http.StatusInternalServerError, fmt.Sprintf("unable to fetch collections: %v", err)}
} }

Loading…
Cancel
Save