Commit 33be871cbad02e702367eaf71d9f1630771f20eb
1 parent
e909a6a55b
Exists in
master
Fix eslint on index.js
Showing 1 changed file with 6 additions and 2 deletions Side-by-side Diff
index.js
... | ... | @@ -59,7 +59,9 @@ async function getTask() { |
59 | 59 | let task; |
60 | 60 | try { |
61 | 61 | const result = await axios.post( |
62 | - coreEndpoint, payload, GET_TASK_AXIOS_CONFIG, | |
62 | + coreEndpoint, | |
63 | + payload, | |
64 | + GET_TASK_AXIOS_CONFIG, | |
63 | 65 | ); |
64 | 66 | |
65 | 67 | if (!result || !result.data) throw new Error('POSTPAID2-SDK: Empty CORE response on pulling task. MARK-26F332C6'); |
... | ... | @@ -151,7 +153,9 @@ exports.report = async (data, xid, retry) => { |
151 | 153 | |
152 | 154 | try { |
153 | 155 | const reportResult = await axios.post( |
154 | - coreEndpoint, JSON.stringify(dataToReport), REPORT_AXIOS_CONFIG, | |
156 | + coreEndpoint, | |
157 | + JSON.stringify(dataToReport), | |
158 | + REPORT_AXIOS_CONFIG, | |
155 | 159 | ); |
156 | 160 | |
157 | 161 | if (!reportResult) { |