mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Fix GetCollections() call
This commit is contained in:
parent
be76f865a4
commit
e5671cd1e6
1 changed files with 1 additions and 1 deletions
|
@ -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)}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue