summaryrefslogtreecommitdiff
path: root/bin/client
diff options
context:
space:
mode:
Diffstat (limited to 'bin/client')
-rw-r--r--bin/client7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/client b/bin/client
index 26eae71..8675f18 100644
--- a/bin/client
+++ b/bin/client
@@ -4,7 +4,7 @@ use warnings;
use FindBin::libs;
use DeWeave::Storage;
use DeWeave::Crypto;
-use DeWeave::EDO;
+use DeWeave::Collection;
use Getopt::Long;
my ($server,$username,$password,$sync_key);
@@ -39,9 +39,10 @@ my $crypto = DeWeave::Crypto->new({
});
use Data::Dump 'pp';
+my $data = $storage->get_item('storage/tabs');
-my $foo = DeWeave::EDO->from_json(
- $storage->get_item('storage/tabs'),
+my $foo = DeWeave::Collection->from_json(
+ $data,
$crypto,
);