mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 17:52:59 -07:00
Add flag for offical mobile app
This commit is contained in:
parent
9a932aea12
commit
7c801c2f5e
6 changed files with 38 additions and 21 deletions
|
@ -416,11 +416,6 @@ class API2(object):
|
|||
self._api_result_type = 'error'
|
||||
return
|
||||
|
||||
elif not notifiers.ANDROIDAPP().validate_device_id(device_id=device_id):
|
||||
self._api_msg = 'Device registration failed: invalid OneSignal Player ID.'
|
||||
self._api_result_type = 'error'
|
||||
return
|
||||
|
||||
result = mobile_app.add_mobile_device(device_id=device_id,
|
||||
device_name=device_name,
|
||||
device_token=self._api_apikey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue