From 0b98275c02ed6cfc2a787dd6750407b8886e945b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20BARBERO?= Date: Thu, 17 Oct 2024 11:14:03 +0200 Subject: [PATCH] fix: set repo path correctly (#104) 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