aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/profile b/bin/profile
index e9a2cb3..0d0025d 100644
--- a/bin/profile
+++ b/bin/profile
@@ -41,9 +41,7 @@ show(){
if [ ! -z $1 ]
then
logit "[INFO]" "Working with $1"
- echo '"data":"'$1'",'
- echo '"'$1'":'$(ipfs cat $1)','
- #ipfs cat $1
+ ipfs cat $(echo $(ipfs cat $1) | jq '.ipfs' -r)
else
echo "No DATA provided"
exit 1