Accept disabled OneSignal id

This commit is contained in:
JonnyWong16 2021-03-20 12:38:01 -07:00
commit 5f2e3f58e7
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 20 additions and 3 deletions

View file

@ -2367,6 +2367,11 @@ def dbcheck():
def upgrade():
if CONFIG.UPGRADE_FLAG == 0:
mobile_app.revalidate_onesignal_ids()
CONFIG.UPGRADE_FLAG = 1
CONFIG.write()
return