mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-13 23:20:05 +00:00
fix: function renamed fetchLogByChunks
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
isRelativePath,
|
||||
isUri,
|
||||
isUrl,
|
||||
fetchLogFileContentByChunks
|
||||
fetchLogByChunks
|
||||
} from './utils'
|
||||
import * as NodeFormData from 'form-data'
|
||||
import {
|
||||
@@ -433,7 +433,7 @@ export class SASViyaApiClient {
|
||||
if (debug && logLink) {
|
||||
const logUrl = `${logLink.href}/content`
|
||||
const logCount = currentJob.logStatistics?.lineCount ?? 1000000
|
||||
log = await fetchLogFileContentByChunks(
|
||||
log = await fetchLogByChunks(
|
||||
this.requestClient,
|
||||
accessToken!,
|
||||
logUrl,
|
||||
@@ -461,7 +461,7 @@ export class SASViyaApiClient {
|
||||
if (logLink) {
|
||||
const logUrl = `${logLink.href}/content`
|
||||
const logCount = currentJob.logStatistics?.lineCount ?? 1000000
|
||||
log = await fetchLogFileContentByChunks(
|
||||
log = await fetchLogByChunks(
|
||||
this.requestClient,
|
||||
accessToken!,
|
||||
logUrl,
|
||||
|
||||
Reference in New Issue
Block a user