Feat: explore apps (#196)

This commit is contained in:
John Wang
2023-05-25 15:54:45 +08:00
committed by GitHub
parent 99f7e4f277
commit 93ae18ea12
20 changed files with 1197 additions and 231 deletions

View File

@@ -134,7 +134,7 @@ def generate_upper_string():
@click.command('gen-recommended-apps', help='Number of records to generate')
def generate_recommended_apps():
print('Generating recommended app data...')
apps = App.query.all()
apps = App.query.filter(App.is_public == True).all()
for app in apps:
recommended_app = RecommendedApp(
app_id=app.id,