forked from Shiloh/githaven
a90988d63f
Fix #25014 Only API needs this fix. On the Web UI, users could only add new file on the default branch.