aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-enter2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index 512da45..c43b891 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -135,7 +135,6 @@ do
timestamp=''
# Announce to logs which ZBLOCK is being read at the moment
logit "[INFO]" "Examining $zblock"
- echo -n '{"zblock":"'$zblock'",'
# We concatenate the zblock's contents, pipe
# them through filter ak-json2bash and output
@@ -149,6 +148,7 @@ do
exit 1
fi
logit "[INFO]" "ZBLOCK $zblock READ"
+ echo -n '{"id":"'$counter'","zblock":"'$zblock'",'
# If it's JSON formated
ak-ipfs-cat $zblock | jq -M > /dev/null 2>&1