Skip to content

Commit

Permalink
#247 only approved services in user bookmarks (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahhcash authored Dec 10, 2024
1 parent 0699766 commit a69177a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/home/repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def get_user_bookmarks(self, user_id):
service = self.services_table.get_item(Key={"Id": service_id}).get(
"Item"
)
if service:
if service and service.get("ServiceStatus", "APPROVED") == "APPROVED":
services.append(service)
return services
except ClientError as e:
Expand Down

0 comments on commit a69177a

Please sign in to comment.