From b60e089c93cd8b93bd87e5a3a42bae071d6d4ad0 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 21 Jan 2023 08:11:53 +0200 Subject: Expands the whole data file instead of outputing only ipfs and detach values --- bin/ak-data-expand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ak-data-expand b/bin/ak-data-expand index 07e4d7d..81a1281 100755 --- a/bin/ak-data-expand +++ b/bin/ak-data-expand @@ -88,7 +88,7 @@ then exit 1 fi logit "[INFO]" "Block signature verified" - echo -n '"'$1'":{"ipfs":"'$DATA'","detach":"'$DETACH'"},' + echo -n '"data":{"'$1'":'$(ipfs --timeout=10s cat $1)'},' exit 0 else echo "Usage: $PROGRAM HASH GPG" -- cgit v1.2.3