diff --git a/src/lib/__tests__/gateway-session.test.ts b/src/lib/__tests__/gateway-session.test.ts index ce0966fc..09531015 100644 --- a/src/lib/__tests__/gateway-session.test.ts +++ b/src/lib/__tests__/gateway-session.test.ts @@ -321,7 +321,7 @@ describe('gatewayAuth', () => { }); it.each([ - [429, 'daily run limit'], + [429, 'weekly wizard run limit'], [400, 'exactly one project'], [403, 'access to this project'], ])('refuses the run on HTTP %i', async (status, fragment) => { diff --git a/src/lib/gateway-session.ts b/src/lib/gateway-session.ts index 577753df..01ac7a6e 100644 --- a/src/lib/gateway-session.ts +++ b/src/lib/gateway-session.ts @@ -276,7 +276,7 @@ export class GatewayMintFailed extends WizardError { /** * Whether a mint status means "refused this run" rather than "not available". - * 429 the daily run limit, 403 revoked project access, 400 a login covering + * 429 the weekly run limit, 403 revoked project access, 400 a login covering * more than one project, 401 a credential the mint does not accept, 404 an * instance without the mint endpoint. */ @@ -342,7 +342,7 @@ function mintRefusalMessage(status: number, detail?: string): string { if (detail) return detail; switch (status) { case 429: - return 'This wizard program has used its daily run limit. Try again tomorrow.'; + return 'This account has used its weekly wizard run limit. Try again next week.'; case 403: return 'Your access to this project has changed. Re-authenticate and try again.'; case 400: