Skip to content

Commit 469d67c

Browse files
Update src/v2/client.ts
Co-authored-by: sebastianMindee <130448732+sebastianMindee@users.noreply.github.com>
1 parent cb111fe commit 469d67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class Client {
184184
break;
185185
}
186186
if (pollResults.job.status === "Processed") {
187-
if (pollResults.job.resultUrl === undefined) {
187+
if (!pollResults.job.resultUrl) {
188188
throw new MindeeError(
189189
"The result URL is undefined. This is a server error, try again later or contact support."
190190
);

0 commit comments

Comments
 (0)