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

This commit is contained in:
miguel 2023-04-04 10:42:19 +01:00 committed by MSilva95
parent 7f7cbf4e9a
commit 08b4a5a545
1 changed files with 1 additions and 1 deletions

View File

@ -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\""