Skip to content

Commit

Permalink
just components
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Jul 24, 2024
1 parent 6444bf4 commit 33036a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/get-sc-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ http_sc() {
echo "COMPONENT_NAME is ${COMPONENT_NAME}" >&2

#COMPONENT_SETTINGS=$(http_sc "components?filters[name][\$eq]=${COMPONENT_NAME}&populate=*")
COMPONENT_SETTINGS=$(http_sc "components?filters[name][%24eq]=${COMPONENT_NAME}&populate[0]=product&populate[1]=environments")
#COMPONENT_SETTINGS=$(http_sc "components?filters[name][%24eq]=${COMPONENT_NAME}&populate[0]=product&populate[1]=environments")

COMPONENT_SETTINGS=$(http_sc "components")

if [ $(echo $COMPONENT_SETTINGS | jq ".meta.pagination.total") -eq 0 ]
then
Expand Down

0 comments on commit 33036a5

Please sign in to comment.