Skip to content

Commit c99b6e5

Browse files
committed
fix: rebuild
1 parent 0110534 commit c99b6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private checkRateLimitForBulkGenerationRateLimit(source_api: string, headers: Re
9696

9797
if (shouldCheckRateLimit) {
9898
const result = this.checkRateLimit(this.options.bulkGenerationRateLimit, headers);
99-
if (result?.error) {
99+
if (result) {
100100
return { error: "Rate limit exceeded" };
101101
}
102102
}

0 commit comments

Comments
 (0)