Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display shared albums #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crooowned
Copy link

No description provided.

@crooowned
Copy link
Author

works on my has instance

@@ -118,7 +118,7 @@ async def list_all_albums(self) -> list[dict]:
"""List all albums."""
try:
async with aiohttp.ClientSession() as session:
url = urljoin(self.host, "/api/album")
url = urljoin(self.host, "/api/album?shared=true")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately ?shared=true means the API will only return the shared albums, so I can't merge this as-is 😕

Aren't shared albums included in the results by default?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, i have an account who only has shared albums, in that case, the dropdown doesnt even render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants