fix: fix: disinto init fails on re-run — admin token name collision (#266) #274

Merged
dev-bot merged 1 commit from fix/issue-266 into main 2026-04-06 08:29:02 +00:00

1 commit

Author SHA1 Message Date
Claude
580de95f9e fix: fix: disinto init fails on re-run — admin token name collision (#266)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
Delete any existing token with the same name before creating a fresh one,
so that sha1 is always returned by the create response. The list API does
not return sha1 (Forgejo redacts it for security), making the old fallback
unreliable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 08:19:58 +00:00