Skip to content

Commit

Permalink
fix: set repo path correctly (#104)
Browse files Browse the repository at this point in the history
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
  • Loading branch information
D4ryl00 authored Oct 17, 2024
1 parent ecf6ad8 commit 0b98275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (opts *Opts) applyDefaults(ctx context.Context) error {
return err
}

mrepo := ipfs_mobile.NewRepoMobile("", repo)
mrepo := ipfs_mobile.NewRepoMobile(opts.DatastoreDir, repo)
mnode, err = ipfsutil.NewIPFSMobile(ctx, mrepo, &ipfsutil.MobileOptions{})
if err != nil {
return err
Expand Down

0 comments on commit 0b98275

Please sign in to comment.