fix(sync): la verification 'depot public' se fait sans jeton, avant tout le reste
Un jeton faux faisait repondre 401 a GitHub avant tout verdict : le refus d'un depot public ne pouvait pas s'exprimer. Public = visible en anonyme. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -140,7 +140,8 @@ begin
|
||||
LHttp.ResponseTimeout := FTimeoutMs;
|
||||
LHttp.HandleRedirects := False;
|
||||
LHttp.UserAgent := 'PMServer';
|
||||
LHttp.CustomHeaders['Authorization'] := 'token ' + FToken;
|
||||
// SANS JETON, expres : "public" = visible par n'importe qui. Un jeton faux
|
||||
// faisait repondre 401 avant tout verdict ; prive et anonyme = 404.
|
||||
try
|
||||
LResp := LHttp.Get(RepoApiUrl(FBaseUrl));
|
||||
except
|
||||
|
||||
Reference in New Issue
Block a user