mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 18:04:19 +00:00
Quick setup said "1. Connect GitHub" while Projects said "GitHub connected as @login". Setup read a `connectors` list from GET /v1/connection, which has answered `connections` since the cloud's views were folded together, so that half of its reading was dead; and it never counted the reader's own link (`github-user`), which Projects counts. `linked` reads both answers: GitHub is the org's App (GET /v1/provider) or the reader's own link. With both answered it follows them both ways, so a Disconnect on Projects reads in Setup; a half answer only ever adds it. Disconnect lets go of the reader's own link first (`leaving`), else the org's App accounts, an org admin's.