Skip to content

Commit

Permalink
chore: Update list saas market
Browse files Browse the repository at this point in the history
  • Loading branch information
phuongntt-cystack committed Mar 17, 2024
1 parent 4a7a041 commit 4be467c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locker_server/api_orm/repositories/payment_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def list_all_invoices(self, **filter_params) -> List[Payment]:
return payments

def list_saas_market(self) -> List[str]:
return list(set(SaasMarketORM.objects.all().values_list("id", flat=True)))
return list(set(SaasMarketORM.objects.all().values_list("name", flat=True)))

def list_invoices_by_user(self, user_id: int, **filter_params) -> List[Payment]:
payments_orm = PaymentORM.objects.filter(user_id=user_id).order_by('-created_time')
Expand Down

0 comments on commit 4be467c

Please sign in to comment.