π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused param
Neeraj Gupta920bd0c7df47
diff --git a/pkg/collections.go b/pkg/collections.goindex 943d7e084c..11395bc5a9 100644--- a/pkg/collections.go+++ b/pkg/collections.go@@ -11,7 +11,7 @@ import ("strconv")-func (c *ClICtrl) fetchRemoteCollections(ctx context.Context, info model.Account) error {+func (c *ClICtrl) fetchRemoteCollections(ctx context.Context) error {lastSyncTime, err2 := c.GetInt64ConfigValue(ctx, model.CollectionsSyncKey)if err2 != nil {return err2@@ -48,7 +48,7 @@ func (c *ClICtrl) fetchRemoteCollections(ctx context.Context, info model.Accountreturn nil}-func (c *ClICtrl) fetchRemoteFiles(ctx context.Context, info model.Account) error {+func (c *ClICtrl) fetchRemoteFiles(ctx context.Context) error {albums, err := c.getRemoteAlbums(ctx)if err != nil {return errdiff --git a/pkg/remote_sync.go b/pkg/remote_sync.goindex c31a44c46d..759b4661b6 100644--- a/pkg/remote_sync.go+++ b/pkg/remote_sync.go@@ -20,11 +20,11 @@ func (c *ClICtrl) SyncAccount(account model.Account) error {return err}c.Client.AddToken(account.AccountKey(), base64.URLEncoding.EncodeToString(secretInfo.Token))- err = c.fetchRemoteCollections(ctx, account)+ err = c.fetchRemoteCollections(ctx)if err != nil {log.Printf("Error fetching collections: %s", err)}- err = c.fetchRemoteFiles(ctx, account)+ err = c.fetchRemoteFiles(ctx)if err != nil {log.Printf("Error fetching files: %s", err)}