diff --git a/note/textile/textile.go b/note/textile/textile.go index 55301e2..2f4c072 100644 --- a/note/textile/textile.go +++ b/note/textile/textile.go @@ -151,7 +151,7 @@ func Open(ctx context.Context, n app.Net, opts ...Option) (*Database, error) { } path := filepath.Join(o.BaseDirectory, o.Thread) d, err := db.NewDB(context.Background(), n, tid, - db.WithNewThreadKey(key), db.WithNewRepoPath(path)) + db.WithNewKey(key), db.WithNewRepoPath(path)) if err != nil { return nil, wrapError("connecting to database", err) }