Skip to content

Commit 80ec86b

Browse files
committed
chore: fix lint
Signed-off-by: Todd Baert <[email protected]>
1 parent 7a145e3 commit 80ec86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/shared/ofrep-core/src/lib/api/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class OFREPApiTooManyRequestsError extends OFREPApiError {
5757
this.name = OFREPApiTooManyRequestsError.name;
5858
this.requestTime = new Date();
5959
this.message =
60-
message ?? this.retryAfterDate
60+
(message ?? this.retryAfterDate)
6161
? `rate limit exceeded, try again after ${this.retryAfterDate}`
6262
: `rate limit exceeded, try again later`;
6363
}

0 commit comments

Comments
 (0)