feat(FN-4761): finalize review auto-move docs and release note
Fusion-Task-Id: FN-4761 Fusion-Task-Lineage: b6b1ed73-c396-4dd2-b97f-366272d05c7f
This commit is contained in:
committed by
gsxdsm
parent
9cee0ef083
commit
3d7e737fbe
@@ -3368,7 +3368,7 @@ export function registerGitGitHubRoutes(ctx: ApiRoutesContext): void {
|
||||
const retryAfter = resetTime
|
||||
? Math.max(0, Math.ceil((resetTime.getTime() - Date.now()) / 1000))
|
||||
: undefined;
|
||||
throw rateLimited("GitHub API rate limit exceeded for this repository", {
|
||||
throw new ApiError(429, "GitHub API rate limit exceeded for this repository", {
|
||||
retryAfter,
|
||||
resetAt: resetTime?.toISOString(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user