Skip to content

Commit 010febf

Browse files
authored
fix: handle auth0 export job state of "processing" (#1991)
handle auth0 export job state of "processing"
1 parent 3cd3ec7 commit 010febf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code-examples/migrate-to-ory/0-get-auth0-user-data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ poll_job_status() {
3636
state=$(echo $jobstatus | jq -r ".status")
3737
echo "jobstate: ${state}"
3838

39-
if [[ $state == "pending" ]]; then
39+
if [[ $state == "pending" ]] || [[ $state == "processing" ]]; then
4040
echo "${jobstatus}" | jq ".time_left_seconds" | read timeleft
4141
if [ -z $timeleft]; then
4242
sleep 1

0 commit comments

Comments
 (0)