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

Call recursive mkdir on image moderation access to ensure folders are made if they don't already exist #158

Merged

Conversation

CheesyLaZanya
Copy link
Collaborator

Closes #156

Used sudo rm -rf ./uploads/* to remove the local development image folders, then navigate to the admin image moderation page without performing any image uploads.

Smooths out first time setup for local development to ensure if someone visits the image moderation page before they upload any HDR images, they do not get an error.

Also fixes indentation of bottom two functions, only functional change is the new mkdir calls mirroring those called during image upload.

… made if they don't already exist.

Signed-off-by: Zachary Licastro <[email protected]>
@fearnworks fearnworks merged commit c105341 into main Feb 17, 2025
6 checks passed
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.

[BUG] Error when navigating to image_moderation with no uploaded images
2 participants