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

Discussion.url is being wrong #1463

Closed
mishig25 opened this issue May 4, 2023 · 1 comment · Fixed by #1465
Closed

Discussion.url is being wrong #1463

mishig25 opened this issue May 4, 2023 · 1 comment · Fixed by #1465
Assignees
Labels
bug Something isn't working

Comments

@mishig25
Copy link
Contributor

mishig25 commented May 4, 2023

discussion = create_discussion(
    repo_id="abc/xyz",
    title="Title",
    description="description"
    repo_type="space"
)

discussion.url is being hf.co/space/abc/xyz/discussions/{NUMBER}, missing "s", should be "spaces" not "space" after hf.co

@mishig25 mishig25 added the bug Something isn't working label May 4, 2023
@Wauplin
Copy link
Contributor

Wauplin commented May 8, 2023

Thanks for reporting it @mishig25. Stupid mistake of mine 😬 I just made a PR for it if you can review it
#1465 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants