Browse Source

fix(json-reseacher): trying to give the domain var instead of the content link to see if it removes the bug

pull/1934/head
miguel 1 year ago committed by MSilva95
parent
commit
08b4a5a545
  1. 2
      sh/tests/solutions/json-researcher.sh

2
sh/tests/solutions/json-researcher.sh

@ -1,2 +1,2 @@
#!/usr/bin/env bash
curl -s https://content.01-edu.org/assets/superhero/all.json | jq '.[] | select(.id==1)' | grep "name\|\"power\""
curl -s "https://$DOMAIN/assets/superhero/all.json" | jq '.[] | select(.id==1)' | grep "name\|\"power\""

Loading…
Cancel
Save