From 7d40fea72519c7ef18165bc46cf2777d4d1794ed Mon Sep 17 00:00:00 2001 From: D4ryl00 Date: Wed, 16 Oct 2024 17:44:12 +0200 Subject: [PATCH] fix: set repo path correctly Signed-off-by: D4ryl00 --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index d4ebbe1f..821dd774 100644 --- a/service.go +++ b/service.go @@ -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