Skip to content

fix(7281): remove the string "DRAFT_MEDIA_FILES" #7432

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

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

Conversation

bitgroestl
Copy link

@bitgroestl bitgroestl commented Mar 21, 2025

Summary

This fixes #7281.

I simply removed the string DRAFT_MEDIA_FILES from the return value of selectMediaFolder and the issue disappeared.
I have no idea why this string existed in the first place, but i highly advise that someone with more insight takes a look at this PR in case it breaks anything.

Test plan

I updated the corresponding test to reflect how i think this should work.
npm run test doesn't show any failures.

Checklist

Please add a x inside each checkbox:

@janw
Copy link

janw commented May 26, 2025

This is currently blocking me. Would love to see it merged. 🙏🏻

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.

collection with path in Gitea returns error 400 for DRAFT_MEDIA_FILES
2 participants