Skip to content

Commit e41a93d

Browse files
committed
simplify object assignment
1 parent 041b177 commit e41a93d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ export class ScrapflyClient {
211211

212212
const content_format = data.result.format
213213
if (content_format === 'clob' || content_format === 'blob') {
214-
const content = await this.handleLargeObjects(data.result, content_format)
215-
data.result = content
214+
data.result = await this.handleLargeObjects(data.result, content_format)
216215
}
217216

218217
const result = this.handleResponse(

0 commit comments

Comments
 (0)