Skip to content

Commit

Permalink
fix: accept renaming in textileio/go-threads#466
Browse files Browse the repository at this point in the history
  • Loading branch information
jtacoma committed Dec 8, 2020
1 parent 283cdcd commit 5ca7252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion note/textile/textile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5ca7252

Please sign in to comment.