Skip to content

Commit

Permalink
fix: handle auth0 export job state of "processing" (#1991)
Browse files Browse the repository at this point in the history
handle auth0 export job state of "processing"
  • Loading branch information
claym-ih authored Jan 8, 2025
1 parent 3cd3ec7 commit 010febf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-examples/migrate-to-ory/0-get-auth0-user-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ poll_job_status() {
state=$(echo $jobstatus | jq -r ".status")
echo "jobstate: ${state}"

if [[ $state == "pending" ]]; then
if [[ $state == "pending" ]] || [[ $state == "processing" ]]; then
echo "${jobstatus}" | jq ".time_left_seconds" | read timeleft
if [ -z $timeleft]; then
sleep 1
Expand Down

0 comments on commit 010febf

Please sign in to comment.