1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-02-07 01:58:15 +03:00

Updating client

This commit is contained in:
Adolfo Gómez García 2024-03-06 02:51:03 +01:00
parent 2d40b5ea5b
commit ef70b5ce76
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 4 additions and 3 deletions

2
client

@ -1 +1 @@
Subproject commit 6c1bd66f3f3884bd2e56a30ab0a40f0c4892986d
Subproject commit 71681290f6d38bd722791b31219c24487f118cff

View File

@ -93,7 +93,8 @@ class Client(Handler):
)
res['error'] = error
res['retryable'] = '1' if is_retrayable else '0'
# is_retrayable is new key, but we keep retryable for compatibility
res['is_retryable'] = res['retryable'] = '1' if is_retrayable else '0'
logger.debug('Client Result: %s', res)
@ -220,7 +221,7 @@ class Client(Handler):
'requiredVersion': consts.system.REQUIRED_CLIENT_VERSION, # Compat with old clients, TB removed soon...
'required_version': consts.system.REQUIRED_CLIENT_VERSION,
'downloadUrl': self._request.build_absolute_uri(reverse('page.client-download')), # Compat with old clients, TB removed soon...
'download_url': self._request.build_absolute_uri(reverse('page.client-download')),
'client_link': self._request.build_absolute_uri(reverse('page.client-download')),
}
)