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

If a user creates a post without an img the file url is undefined. #26

Open
Tracked by #38
steph-koopmanschap opened this issue Feb 3, 2023 · 0 comments
Open
Tracked by #38
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@steph-koopmanschap
Copy link
Owner

See screenshot.
When a post is auto-generated the file_url is empty or null. This is how it should be for a post without an image.
If a user uploads a post without an image the file_url in the database becomes
localhost:5000/media/posts/undefined/ even tho the file_url should be empty.

image

@steph-koopmanschap steph-koopmanschap changed the title If a user creates a post withotu an img the file url is undefined. If a user creates a post without an img the file url is undefined. Feb 3, 2023
@steph-koopmanschap steph-koopmanschap added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Feb 17, 2023
@steph-koopmanschap steph-koopmanschap mentioned this issue Mar 14, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant