mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 14:38:03 +02:00
62a2c1cd5c
The Anonymize form used the cached RepositoryModel for hasPage, defaultBranch, etc. — so enabling GitHub Pages (or changing the default branch) on the source after first cache wouldn't reflect in the UI, leaving the GitHub Pages checkbox grayed out. Pass force=1 when loading the form's repo details so the backend re-queries the GitHub API once. The cost is a single GET /repos/... call per form load. Fixes #364.