misc: give more time for the user to arrive in wcs
This commit is contained in:
parent
eecbc602f9
commit
39a6382bba
|
@ -129,7 +129,7 @@ class ContactAdd(FormView):
|
||||||
auth=settings.AUTHENTIC_AUTH_TUPLE)
|
auth=settings.AUTHENTIC_AUTH_TUPLE)
|
||||||
|
|
||||||
user_uuid = authentic_response.json().get('uuid')
|
user_uuid = authentic_response.json().get('uuid')
|
||||||
for i in range(20):
|
for i in range(50):
|
||||||
try:
|
try:
|
||||||
user_details = get_wcs_data('api/users/%s/' % user_uuid)
|
user_details = get_wcs_data('api/users/%s/' % user_uuid)
|
||||||
result = {'data': {'user_id': user_details.get('id')}}
|
result = {'data': {'user_id': user_details.get('id')}}
|
||||||
|
|
Loading…
Reference in New Issue