Improve application retrieval logic

This commit is contained in:
codeking 2024-09-19 00:28:18 +02:00
parent 792c416274
commit b36313e0af

View file

@ -68,11 +68,6 @@ class ApplicationController:
def fetch(proxies: Optional[dict] = None):
applications = WebServiceApiService.get_applications(proxies)
supported_applications = []
for application in applications:
if application.code in ('firefox', 'brave', 'chromium'):
supported_applications.append(application)
Application.truncate()
Application.save_many(applications)